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
|
||||
volumes:
|
||||
- database:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
networks:
|
||||
backend:
|
||||
#restart: always
|
Loading…
Reference in a new issue