mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-23 21:21:03 +01:00
Changed restart policy of postgres to always
This commit is contained in:
parent
15e142ddc4
commit
b5d0ae8800
@ -5,7 +5,7 @@
|
||||
- POSTGRES_PASSWORD={{database_password}}
|
||||
- POSTGRES_USER={{database_username}}
|
||||
- POSTGRES_DB={{database_databasename}}
|
||||
restart: unless-stopped
|
||||
restart: always
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U {{database_databasename}}"]
|
||||
interval: 10s
|
||||
|
Loading…
Reference in New Issue
Block a user