Skip to content

Commit

Permalink
add: add restart always policy in docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KyoungsueKim committed Jan 13, 2024
1 parent f264ffa commit b84fc68
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
- "64550:64550"
restart: always

0 comments on commit b84fc68

Please sign in to comment.