Skip to content

Commit

Permalink
feat: add docker restart policy
Browse files Browse the repository at this point in the history
Apply docker restart policy for production
  • Loading branch information
Tooa committed Jun 25, 2022
1 parent c757c66 commit 1eb1446
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ services:
perlite:
image: sec77/perlite:latest
container_name: perlite
restart: unless-stopped

environment:
- NOTES_PATH=Demo
Expand All @@ -18,6 +19,7 @@ services:
context: ./web
image: sec77/perlite_web:stable
container_name: perlite_web
restart: unless-stopped
ports:
- 80:80
volumes_from:
Expand Down

0 comments on commit 1eb1446

Please sign in to comment.