Skip to content

Commit

Permalink
Merge pull request umami-software#722 from pqvst/patch-1
Browse files Browse the repository at this point in the history
Consider adding restart policy to docker-compose.yml
  • Loading branch information
mikecao committed Jul 13, 2021
2 parents d1e5ab9 + c5d775c commit 195d2a5
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 @@ -11,6 +11,7 @@ services:
HASH_SALT: replace-me-with-a-random-string
depends_on:
- db
restart: always
db:
image: postgres:12-alpine
environment:
Expand All @@ -20,5 +21,6 @@ services:
volumes:
- ./sql/schema.postgresql.sql:/docker-entrypoint-initdb.d/schema.postgresql.sql:ro
- umami-db-data:/var/lib/postgresql/data
restart: always
volumes:
umami-db-data:

0 comments on commit 195d2a5

Please sign in to comment.