Re-add healthcheck command

This commit is contained in:
Jesse Wierzbinski 2024-03-11 22:03:33 -10:00
parent b0ddba9bc8
commit 99ab5e2e56
No known key found for this signature in database
2 changed files with 5 additions and 1 deletions

View file

@ -1,5 +1,5 @@
[database]
host = "0.0.0.0"
host = "postgres"
port = 5432
username = "lysand"
password = "lysand"

View file

@ -21,6 +21,10 @@ jobs:
POSTGRES_PASSWORD: lysand
volumes:
- lysand-data:/var/lib/postgresql/data
options: --health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
permissions:
contents: read
security-events: write