Set auto restart to DB & Redis in case it crashes or shuts down.

This commit is contained in:
sunstep 2024-08-16 13:01:39 +02:00 committed by GitHub
parent 23f8aab068
commit b0a6750d78
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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