From 7b4e05482d0b98b59e71cfebfba127d4d423ccbb Mon Sep 17 00:00:00 2001 From: nutshell9247 Date: Sat, 8 Aug 2026 07:41:14 +0000 Subject: [PATCH] Update docker-compose.yml --- docker-compose.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index b06a3ca..3ac2c80 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -42,7 +42,8 @@ services: - ./templates:/app/templates:ro - ./static:/app/static:ro ports: - - "${PORT:-8080}:8080" + # This is the crucial fix: both host and container ports are now dynamic + - "${PORT:-8080}:${PORT:-8080}" networks: - blogging-network restart: unless-stopped