mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-27 23:21:02 +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_PASSWORD={{database_password}}
|
||||||
- POSTGRES_USER={{database_username}}
|
- POSTGRES_USER={{database_username}}
|
||||||
- POSTGRES_DB={{database_databasename}}
|
- POSTGRES_DB={{database_databasename}}
|
||||||
restart: unless-stopped
|
restart: always
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -U {{database_databasename}}"]
|
test: ["CMD-SHELL", "pg_isready -U {{database_databasename}}"]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
|
Loading…
Reference in New Issue
Block a user