Skip to content

Commit

Permalink
restart every container always to combat issues due to downtime of VPS
Browse files Browse the repository at this point in the history
  • Loading branch information
robinpdev authored May 29, 2024
1 parent 2f14893 commit 2d9cadc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ services:
database:
container_name: pigeonhole-database
image: postgres:13.0-alpine
restart: always
volumes:
- postgres_data:/var/lib/postgresql/data/
environment:
Expand Down Expand Up @@ -66,6 +67,7 @@ services:
context: ./frontend
target: runner
command: npm run start
restart: always
ports:
- 3000:3000
depends_on:
Expand Down Expand Up @@ -102,6 +104,7 @@ services:
traefik:
image: "traefik:v2.11"
container_name: "traefik"
restart: always
command:
- "--log.level=DEBUG"
- "--api.insecure=false"
Expand Down

0 comments on commit 2d9cadc

Please sign in to comment.