gabriel / musehub public
docker-compose.override.yml yaml
25 lines 828 B
c0f0b481 release: merge dev → main (#5) Gabriel Cardona <cgcardona@gmail.com> 5d ago
1 # Development overrides — bind-mount source code so changes take effect
2 # without a full image rebuild. Loaded automatically by docker compose.
3 services:
4 musehub:
5 build:
6 context: .
7 working_dir: /app
8 volumes:
9 - ./musehub:/app/musehub
10 - ./tests:/app/tests
11 - ./alembic:/app/alembic
12 - ./scripts:/app/scripts
13 - ./tourdeforce:/app/tourdeforce
14 - musehub_data:/data
15 environment:
16 DEBUG: "true"
17 CORS_ORIGINS: '["http://localhost:10003", "muse://"]'
18 # Fallback dev/test secret (≥32 bytes for HMAC-SHA256) — override in .env for production
19 ACCESS_TOKEN_SECRET: "${ACCESS_TOKEN_SECRET:-dev-test-secret-change-in-prod!!}"
20 # Reload on code changes
21 command: >
22 uvicorn musehub.main:app
23 --host 0.0.0.0
24 --port 10003
25 --reload