From 753dd281aeca9f726671efab58afb2466740b7bd Mon Sep 17 00:00:00 2001 From: Chris Calloway Date: Thu, 23 Jun 2022 18:35:39 -0400 Subject: [PATCH] Make docker ports configurable. --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index ced28e6..820d783 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,7 +8,7 @@ services: volumes: - pgdata:/var/lib/postgresql/data ports: - - 5432:5432 + - "${DATABASE_PORT}:${DATABASE_PORT}" environment: POSTGRES_USER: "${DATABASE_USERNAME}" POSTGRES_PASSWORD: "${DATABASE_PASSWORD}"