chore: add healthcheck to docker-compose stack (#1735)

This commit is contained in:
Jonas L 2022-04-04 16:28:58 +02:00 committed by GitHub
parent 0bbd46c33f
commit 05342e2e83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -8,6 +8,11 @@ services:
environment:
POSTGRES_USER: libretime
POSTGRES_PASSWORD: libretime
healthcheck:
test: ["CMD-SHELL", "pg_isready"]
interval: 10s
timeout: 5s
retries: 5
adminer:
image: adminer