Files
metabuilder/packagerepo/docker-compose.yml
johndoe6345789 57cbf12a5a fix(packagerepo): use different ports to avoid conflicts
- Backend: 5001 instead of 5000 (macOS Control Center uses 5000)
- Frontend: 3003 instead of 3000 (common dev port conflicts)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 01:37:43 +00:00

43 lines
763 B
YAML

version: '3.8'
services:
backend:
build:
context: .
dockerfile: backend/Dockerfile
ports:
- "5001:5000"
environment:
- DATA_DIR=/data
- JWT_SECRET=dev-secret-change-in-production
- FLASK_ENV=development
volumes:
- backend-data:/data
networks:
- app-network
restart: unless-stopped
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
ports:
- "3003:3000"
environment:
- NEXT_PUBLIC_API_URL=
- BACKEND_URL=http://backend:5000
- NODE_ENV=production
depends_on:
- backend
networks:
- app-network
restart: unless-stopped
volumes:
backend-data:
driver: local
networks:
app-network:
driver: bridge