mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 17:21:38 -05:00
Set auto restart to DB & Redis in case it crashes or shuts down.
This commit is contained in:
parent
23f8aab068
commit
b0a6750d78
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue