a281620178
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>
46 lines
739 B
YAML
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
|