mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-22 12:41:05 +01:00
Changed restart policy of postgres to always
This commit is contained in:
parent
4a20adf26a
commit
682c702dbf
@ -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