Skip to content

Commit

Permalink
chore: Add restart policy to docker-compose.yml, I've grown tired of …
Browse files Browse the repository at this point in the history
…SSHing into prismatic.
  • Loading branch information
devfxx committed Jul 8, 2024
1 parent 33e80a0 commit dc968a6
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 @@ -6,6 +6,7 @@ services:
dockerfile: Dockerfile
ports:
- "3000:3000"
restart: unless-stopped
depends_on:
- redis
redis:
Expand All @@ -17,6 +18,7 @@ services:
interval: 1s
timeout: 3s
retries: 30
restart: unless-stopped

volumes:
redis_data:

0 comments on commit dc968a6

Please sign in to comment.