From b0a6750d7840e516cf622b05851f5a8edb0b892d Mon Sep 17 00:00:00 2001 From: sunstep <73174517+sunstep@users.noreply.github.com> Date: Fri, 16 Aug 2024 13:01:39 +0200 Subject: [PATCH] Set auto restart to DB & Redis in case it crashes or shuts down. --- docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 87b8efcd..895c0c9f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,6 +9,7 @@ services: - dawarich volumes: - shared_data:/var/shared/redis + restart: always dawarich_db: image: postgres:14.2-alpine container_name: dawarich_db @@ -20,6 +21,7 @@ services: environment: POSTGRES_USER: postgres POSTGRES_PASSWORD: password + restart: always dawarich_app: image: freikin/dawarich:latest container_name: dawarich_app