mirror of
https://github.com/thecyberlearn/quantumtaskai-caprover.git
synced 2026-08-18 21:32:56 +00:00
Fix port conflict issue - use simplified docker-compose for Dokploy
- Remove nginx container (Dokploy handles reverse proxy) - Use port 3000 for web service to avoid conflicts - Let Dokploy handle SSL and routing - Simplified architecture works better with Dokploy
This commit is contained in:
parent
d5a9514bd3
commit
5ffec098f0
@ -2,11 +2,11 @@ services:
|
||||
web:
|
||||
build: .
|
||||
ports:
|
||||
- "8000:8000"
|
||||
- "3000:8000"
|
||||
environment:
|
||||
- DEBUG=false
|
||||
- ALLOWED_HOSTS=ai.quantumtaskai.com,*.quantumtaskai.com
|
||||
- CSRF_TRUSTED_ORIGINS=https://ai.quantumtaskai.com
|
||||
- ALLOWED_HOSTS=ai.quantumtaskai.com,*.quantumtaskai.com,localhost,127.0.0.1
|
||||
- CSRF_TRUSTED_ORIGINS=https://ai.quantumtaskai.com,https://quantumtaskai.com
|
||||
- DATABASE_URL=${NEON_DATABASE_URL}
|
||||
- SECRET_KEY=${SECRET_KEY}
|
||||
- EMAIL_HOST_USER=${EMAIL_HOST_USER}
|
||||
@ -27,20 +27,6 @@ services:
|
||||
retries: 3
|
||||
start_period: 40s
|
||||
|
||||
nginx:
|
||||
image: nginx:alpine
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
volumes:
|
||||
- ./nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
- static_volume:/var/www/static:ro
|
||||
- media_volume:/var/www/media:ro
|
||||
- /etc/letsencrypt:/etc/letsencrypt:ro
|
||||
depends_on:
|
||||
- web
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
static_volume:
|
||||
media_volume:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user