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
This commit is contained in:
thecyberlearn 2025-09-06 10:30:49 +05:30
parent 5ffec098f0
commit 43e4570792

View File

@ -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