mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
Merge pull request #722 from pqvst/patch-1
Consider adding restart policy to docker-compose.yml
This commit is contained in:
commit
195d2a5093
1 changed files with 2 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ services:
|
|||
HASH_SALT: replace-me-with-a-random-string
|
||||
depends_on:
|
||||
- db
|
||||
restart: always
|
||||
db:
|
||||
image: postgres:12-alpine
|
||||
environment:
|
||||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue