Add postgres healthchecks
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
2024-01-10 09:00:44 +01:00
parent bd750a2ae1
commit 32d4c516df
5 changed files with 13 additions and 8 deletions

View File

@ -47,7 +47,7 @@ services:
volumes:
- database:/var/lib/postgresql/data
healthcheck:
test: ["CMD", "pg_isready", "-U", "miniflux"]
test: ["CMD", "pg_isready", "-U", "{{ miniflux.db.user }}"]
interval: 10s
start_period: 30s
networks: