From c74b339929c3180258fd4ccc85ce695e29d0ee85 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Mon, 2 Sep 2024 16:43:34 +0800 Subject: [PATCH] Remove port binding for PostgreSQL in docker compose --- docker-compose.demo.yml | 2 -- docker-compose.dev.yml | 2 -- 2 files changed, 4 deletions(-) diff --git a/docker-compose.demo.yml b/docker-compose.demo.yml index fd3c014..eeb09d9 100644 --- a/docker-compose.demo.yml +++ b/docker-compose.demo.yml @@ -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 diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index c2ba55c..b5a63e8 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -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