Changed restart policy of postgres to always

This commit is contained in:
Kevin Veen-Birkenbach 2023-12-28 21:30:33 +01:00
parent 4a20adf26a
commit 682c702dbf

View File

@ -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