From 2d9cadc47142339057c8aad9bbe59752e7bc6c37 Mon Sep 17 00:00:00 2001 From: Robin Paret <44908176+robinpdev@users.noreply.github.com> Date: Wed, 29 May 2024 15:53:10 +0200 Subject: [PATCH] restart every container always to combat issues due to downtime of VPS --- docker-compose.prod.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index 27b6b84b..fe8b8a82 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -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: @@ -66,6 +67,7 @@ services: context: ./frontend target: runner command: npm run start + restart: always ports: - 3000:3000 depends_on: @@ -102,6 +104,7 @@ services: traefik: image: "traefik:v2.11" container_name: "traefik" + restart: always command: - "--log.level=DEBUG" - "--api.insecure=false"