feat(docker): update ports to 10001 (frontend) and 10002 (backend)

This commit is contained in:
Andrej Spielmann
2026-03-26 15:31:58 +01:00
parent 7210d09821
commit 0721cbf879
4 changed files with 287 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
version: '3.8'
services:
backend:
build: ./backend
container_name: wrestledesk-backend
restart: unless-stopped
ports:
- '10002:8000'
volumes:
- ./backend/media:/app/media
- ./backend/staticfiles:/app/staticfiles
environment:
- SECRET_KEY=${SECRET_KEY}
- DEBUG=False
- ALLOWED_HOSTS=localhost,127.0.0.1,rce.playman.top,nginx-proxy-manager
- CORS_ALLOWED_ORIGINS=https://rce.playman.top
- DATABASE_URL=${DATABASE_URL}
networks:
- wrestledesk-network
frontend:
build: ./frontend
container_name: wrestledesk-frontend
restart: unless-stopped
ports:
- '10001:3000'
environment:
- NEXT_PUBLIC_API_URL=https://rce.playman.top/api/v1
- NODE_ENV=production
networks:
- wrestledesk-network
networks:
wrestledesk-network:
driver: bridge