Merge pull request #177 from sunstep/master

Set auto restart to DB & Redis in case it crashes or shuts down.
This commit is contained in:
Evgenii Burmakin 2024-08-16 18:09:07 +02:00 committed by GitHub
commit 69ffdca498
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