Files
NeveTimePanel/docker-compose.dev.yml
arkonsadter 389b92f68a
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Replace Dockerfiles, Compose and Drone CI with clean working setup
2026-03-18 20:02:20 +06:00

49 lines
947 B
YAML

version: '3.8'
services:
backend:
build:
context: ./backend
dockerfile: Dockerfile
container_name: mc-panel-backend-dev
restart: unless-stopped
ports:
- "8000:8000"
env_file:
- ./backend/.env
environment:
PORT: 8000
WORKERS: 1
volumes:
- ./backend:/app
- mc_servers_dev:/app/servers
- mc_data_dev:/app/data
- mc_logs_dev:/app/logs
command: ["sh", "-c", "uvicorn main:app --host 0.0.0.0 --port 8000 --reload"]
networks:
- mc-panel-dev
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
args:
VITE_API_URL: http://localhost:8000
container_name: mc-panel-frontend-dev
restart: unless-stopped
ports:
- "3000:80"
depends_on:
- backend
networks:
- mc-panel-dev
volumes:
mc_servers_dev:
mc_data_dev:
mc_logs_dev:
networks:
mc-panel-dev:
driver: bridge