mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-05-01 17:24:57 +00:00
- codegen: Low-code React app with JSON-driven component system - packagerepo: Schema-driven package repository with backend/frontend - postgres: Next.js app with Drizzle ORM and PostgreSQL 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:
|
|
- "5000: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:
|
|
- "3000: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
|