Skip to content

Commit

Permalink
Update docker-compose.yml restart policy (#123)
Browse files Browse the repository at this point in the history
Changes the restart policy to restart automatically.
  • Loading branch information
Magnus Alexander Strømseng authored and GitHub committed Mar 18, 2024
1 parent 8eb44d0 commit 678b86c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ services:
- "1337:1337"
environment:
- NODE_ENV=production
deploy:
restart_policy:
condition: any
delay: 5s
max_attempts: 3
window: 120s

frontend-app:
build:
Expand Down

0 comments on commit 678b86c

Please sign in to comment.