hedgedoc : rename to container-compose.yml + PostgreSQL healthcheck
This commit is contained in:
parent
7a989baf6d
commit
dcaa490e34
|
@ -20,6 +20,11 @@ services:
|
||||||
# - POSTGRES_DB=hedgedoc
|
# - POSTGRES_DB=hedgedoc
|
||||||
volumes:
|
volumes:
|
||||||
- database:/var/lib/postgresql/data
|
- database:/var/lib/postgresql/data
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||||
|
interval: 5s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
networks:
|
networks:
|
||||||
backend:
|
backend:
|
||||||
#restart: always
|
#restart: always
|
Loading…
Reference in a new issue