mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-17 15:13:24 +02:00
add healthcheck to db container in docker-compose.dev.yaml
This commit is contained in:
@@ -11,6 +11,11 @@ services:
|
||||
POSTGRES_PASSWORD: MediaManager
|
||||
ports:
|
||||
- "5432:5432"
|
||||
healthcheck:
|
||||
test: [ "CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}" ]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
mediamanager:
|
||||
build:
|
||||
context: .
|
||||
|
||||
Reference in New Issue
Block a user