7a34807fa0
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
26 lines
579 B
YAML
26 lines
579 B
YAML
services:
|
|
backend:
|
|
build: ./backend
|
|
ports:
|
|
- "8000:8000"
|
|
volumes:
|
|
- ./backend/data:/app/data
|
|
- ./backend:/app
|
|
environment:
|
|
- DATA_DIR=/app/data
|
|
- PYTHONDONTWRITEBYTECODE=1
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
command: uvicorn main:app --host 0.0.0.0 --port 8000 --reload
|
|
|
|
frontend:
|
|
build: ./frontend
|
|
ports:
|
|
- "5173:5173"
|
|
volumes:
|
|
- ./frontend/src:/app/src
|
|
- ./frontend/index.html:/app/index.html
|
|
depends_on:
|
|
- backend
|
|
command: npm run dev -- --host 0.0.0.0
|