Skip to content

Commit

Permalink
Merge pull request #177 from sunstep/master
Browse files Browse the repository at this point in the history
Set auto restart to DB & Redis in case it crashes or shuts down.
  • Loading branch information
Freika authored Aug 16, 2024
2 parents 23f8aab + b0a6750 commit 69ffdca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -20,6 +21,7 @@ services:
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
restart: always
dawarich_app:
image: freikin/dawarich:latest
container_name: dawarich_app
Expand Down

0 comments on commit 69ffdca

Please sign in to comment.