From b84fc6847669363abab51f8e7848d22a4fb0d0a8 Mon Sep 17 00:00:00 2001 From: Kyoungsue Kim Date: Sat, 13 Jan 2024 19:17:26 +0900 Subject: [PATCH] add: add restart always policy in docker-compose.yml --- docker-compose.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index ffe19c0..d9b291f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,8 +6,9 @@ services: - C:\Certbot\archive\kksoft.kr:/etc/letsencrypt/live/kksoft.kr - ./verbose-waffle:/opt/project/verbose-waffle working_dir: / -# command: /bin/sh -c "python3 /opt/project/verbose-waffle/main.py" +# command: /bin/sh -c "python3 /opt/project/verbose-waffle/main.py" -> This execution order is already in the base-image. networks: - default ports: - - "64550:64550" \ No newline at end of file + - "64550:64550" + restart: always \ No newline at end of file