feat(docker): update ports to 10001 (frontend) and 10002 (backend)
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user