Merge pull request #70 from Milanzor/remove-db-port-exposure

Remove db port exposure from the docker-compose.yml
This commit is contained in:
Maximilian Dorninger
2025-07-18 18:24:46 +02:00
committed by GitHub
3 changed files with 18 additions and 15 deletions

View File

@@ -18,15 +18,11 @@ services:
volumes:
- ./postgres:/var/lib/postgresql/data
healthcheck:
test: [ "CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"]
interval: 10s
timeout: 5s
retries: 5
test: [ "CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}" ]
interval: 10s
timeout: 5s
retries: 5
environment:
POSTGRES_USER: MediaManager
POSTGRES_DB: MediaManager
POSTGRES_PASSWORD: MediaManager
ports:
- "5432:5432"