FastAPI backend with auth, user, instance, ticket, query, dashboard APIs. React + TypeScript frontend with mock data UI (10 pages). SQLite + async SQLAlchemy, JWT auth, role-based access control. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
33 lines
600 B
YAML
33 lines
600 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
backend:
|
|
build:
|
|
context: ./backend
|
|
dockerfile: Dockerfile
|
|
ports:
|
|
- "9000:9000"
|
|
environment:
|
|
- ENV=development
|
|
- DEBUG=true
|
|
- SECRET_KEY=dev-secret-key-change-in-production
|
|
- DATABASE_URL=sqlite+aiosqlite:///./sqlite3.db
|
|
volumes:
|
|
- ./backend:/app
|
|
- backend_data:/app/data
|
|
|
|
frontend:
|
|
build:
|
|
context: ./frontend
|
|
dockerfile: Dockerfile
|
|
ports:
|
|
- "5173:5173"
|
|
volumes:
|
|
- ./frontend:/app
|
|
- /app/node_modules
|
|
depends_on:
|
|
- backend
|
|
|
|
volumes:
|
|
backend_data:
|