From 43e4570792793be59a776d5e56c09791a183490c Mon Sep 17 00:00:00 2001 From: thecyberlearn Date: Sat, 6 Sep 2025 10:30:49 +0530 Subject: [PATCH] Fix port allocation issue - use expose instead of ports - Remove port mapping (ports: 3000:8000) - Use expose: 8000 instead - lets Dokploy handle networking - No more port conflicts with host system - Dokploy reverse proxy will connect to exposed port 8000 --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index a7388e6..78475e5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,8 +1,8 @@ services: web: build: . - ports: - - "3000:8000" + expose: + - "8000" environment: - DEBUG=false - ALLOWED_HOSTS=ai.quantumtaskai.com,*.quantumtaskai.com,localhost,127.0.0.1