towards healthchecks for all containers

This commit is contained in:
2026-02-04 18:11:49 +01:00
parent 7f45788b3d
commit ab2f707706
42 changed files with 245 additions and 19 deletions

View File

@@ -16,8 +16,12 @@ services:
- /opt/postgres/cert.pem:/cert.pem
- /opt/postgres/key.pem:/key.pem
entrypoint: ["/bin/bash", "/entrypoint.sh"]
command:
- postgres
- -c
- config_file=/etc/postgresql/postgresql.conf
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 10s
timeout: 5s
retries: 5