feat: do not map the local port to the production database Docker container

This commit is contained in:
Matouš Volf 2024-09-13 10:09:20 +02:00
parent f6034d8433
commit 9f6e5e450d

View File

@ -10,7 +10,6 @@ services:
db: db:
image: postgres:16.4-bookworm image: postgres:16.4-bookworm
volumes: [ "db_data:/var/lib/postgresql/data" ] volumes: [ "db_data:/var/lib/postgresql/data" ]
ports: [ "5432:5432" ]
environment: environment:
POSTGRES_DB: todo_baggins POSTGRES_DB: todo_baggins
POSTGRES_USER: app POSTGRES_USER: app