Files
FabledCurator/docker-compose.dev.yml
T
bvandeusen a281620178 feat: add docker-compose stack (web/worker/scheduler/ml-worker + postgres + redis)
Prod compose references the Forgejo registry; dev compose builds locally
and exposes DB/Redis ports. Volume layout: ./images, ./import, ./downloads,
./models (all gitignored, anchored to repo root). Plain HTTP only — no TLS
in-app (spec §2.1).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-14 07:42:36 -04:00

46 lines
739 B
YAML

services:
postgres:
ports:
- "5432:5432"
redis:
ports:
- "6379:6379"
web:
build:
context: .
dockerfile: Dockerfile
environment:
LOG_LEVEL: DEBUG
volumes:
- ./backend:/app/backend
- ./alembic:/app/alembic
worker:
build:
context: .
dockerfile: Dockerfile
environment:
LOG_LEVEL: DEBUG
volumes:
- ./backend:/app/backend
scheduler:
build:
context: .
dockerfile: Dockerfile
environment:
LOG_LEVEL: DEBUG
volumes:
- ./backend:/app/backend
ml-worker:
build:
context: .
dockerfile: Dockerfile.ml
environment:
LOG_LEVEL: DEBUG
volumes:
- ./backend:/app/backend