Remove port binding for PostgreSQL in docker compose

This commit is contained in:
Keannu Bernasol 2024-09-02 16:43:34 +08:00
parent 35e58a6727
commit c74b339929
2 changed files with 0 additions and 4 deletions

View file

@ -48,8 +48,6 @@ services:
- POSTGRES_DB=${DB_DATABASE}
- POSTGRES_USER=${DB_USERNAME}
- POSTGRES_PASSWORD=${DB_PASSWORD}
ports:
- "${DB_PORT}:5432"
volumes:
- db-data:/var/lib/postgresql/data

View file

@ -74,8 +74,6 @@ services:
- POSTGRES_DB=${DB_DATABASE}
- POSTGRES_USER=${DB_USERNAME}
- POSTGRES_PASSWORD=${DB_PASSWORD}
ports:
- "${DB_PORT}:5432"
volumes:
- db-data:/var/lib/postgresql/data