Moved the port exposure for the db service to a seperate docker-compose file

This commit is contained in:
Milan van As
2025-07-18 09:04:30 +02:00
parent aaa025c2bb
commit d19e451f85
2 changed files with 8 additions and 8 deletions

View File

@@ -14,15 +14,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"