mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-05-02 01:34:56 +00:00
- 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>
43 lines
763 B
YAML
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
|