From 3efeae92eb68e7a060f91170583aae8bb0d15176 Mon Sep 17 00:00:00 2001 From: wivaku Date: Tue, 18 Jan 2022 20:23:01 +0100 Subject: [PATCH] Update docker-compose.yaml make it possible to overwrite the :3000 port using .env instead of modifying docker-compose.yaml file --- docker-compose.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 9cb634f74..21b1e4bae 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -32,7 +32,7 @@ services: networks: - stack ports: - - 3000:3000 + - ${PORT-3000}:3000 env_file: .env environment: - DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DATABASE_HOST}/${POSTGRES_DB}