music-app/docker-compose.yml
Jarian Cottingham 6b41acbf68
Some checks are pending
CI / lint (push) Waiting to run
CI / test (push) Waiting to run
CI / docker-build (push) Waiting to run
CI / security (push) Waiting to run
CI / build-result (push) Blocked by required conditions
refactor: split into music-app (server), music-web, music-mobile
Carve web client, mobile app, and e2e specs out into dedicated
repositories. This repo keeps the FastAPI backend, shared types,
and docs. Compose trimmed to the backend service.
2026-08-21 18:29:37 +00:00

23 lines
572 B
YAML

services:
backend:
build:
context: ./backend
dockerfile: Dockerfile
ports:
- "8000:8000"
volumes:
- ./backend:/app
- music_data:/app/music
- upload_data:/app/uploads
environment:
- DATABASE_URL=sqlite:///./app.db
- MUSIC_DIR=./music
- UPLOAD_DIR=./uploads
- STATIC_DIR=./static
- CORS_ORIGINS=http://localhost:5173,http://localhost:3000,http://0.0.0.0:5173,http://0.0.0.0:3000,*
command: uvicorn app.main:app --reload --host 0.0.0.0 --port 8000
volumes:
music_data:
upload_data: