Some checks are pending
build-images / api (push) Waiting to run
build-images / worker-gpu (push) Waiting to run
build-images / web (push) Waiting to run
codeql / Analyze (javascript-typescript) (push) Waiting to run
codeql / Analyze (python) (push) Waiting to run
perf / API hot-path micro-smoke (budgeted) (push) Waiting to run
perf / Desktop engine crates (release build check) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (comfy-workflow-schema) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (effects-core) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (eventbus-types) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (growth-analytics) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (trends-schema) (push) Waiting to run
vision2026-ci / API phase modules (ruff + pytest) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (provider-adapter-kit) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (publishing-connectors) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (render-core) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (shot-template-schema) (push) Waiting to run
vision2026-ci / Python SDK resource tests (push) Waiting to run
vision2026-ci / Desktop engine crates (test + clippy + fmt) (push) Waiting to run
vision2026-ci / Alembic upgrade + drift check (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (caption-engine) (push) Waiting to run
Paid, hosted product at menivor.com, now retired as a company project. Fresh squashed history of the cleaned working tree (secret-scanned, no .env, no customer data, no outreach logs). Built on MoneyPrinterTurbo (MIT, harry0703) — see NOTICE.
131 lines
3.6 KiB
YAML
131 lines
3.6 KiB
YAML
# ReelForge product stack. The API, normal worker, and beat share the lean CPU
|
|
# image. The generation worker uses the separate CUDA-capable image and is the
|
|
# only service that places apps/api/engine on PYTHONPATH.
|
|
|
|
x-api-build: &api-build
|
|
build:
|
|
context: .
|
|
dockerfile: apps/api/Dockerfile
|
|
|
|
x-generation-build: &generation-build
|
|
build:
|
|
context: .
|
|
dockerfile: apps/api/Dockerfile.generation
|
|
|
|
x-api-env: &api-env
|
|
env_file:
|
|
- .env.reelforge
|
|
environment:
|
|
PYTHONPATH: /workspace/packages/provider-adapter-kit/python:/workspace/apps/api:/workspace
|
|
REDIS_HOST: redis
|
|
NEON_DATABASE_URL: postgresql+psycopg://reelforge:reelforge@db:5432/reelforge
|
|
REELFORGE_BACKEND_ROOT: /workspace/apps/api
|
|
|
|
x-api-volumes: &api-volumes
|
|
- ./:/workspace
|
|
- ./apps/api/runtime/storage:/workspace/apps/api/runtime/storage
|
|
|
|
services:
|
|
db:
|
|
image: postgres:16-alpine
|
|
environment:
|
|
POSTGRES_DB: reelforge
|
|
POSTGRES_USER: reelforge
|
|
POSTGRES_PASSWORD: reelforge
|
|
volumes:
|
|
- reelforge-db-data:/var/lib/postgresql/data
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U reelforge -d reelforge"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 10
|
|
|
|
redis:
|
|
image: redis:7-alpine
|
|
command: ["redis-server", "--appendonly", "yes", "--save", "60", "1"]
|
|
ports:
|
|
- "127.0.0.1:6379:6379"
|
|
volumes:
|
|
- reelforge-redis-data:/data
|
|
healthcheck:
|
|
test: ["CMD", "redis-cli", "ping"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
|
|
api:
|
|
<<: [*api-build, *api-env]
|
|
command: ["uvicorn", "app.asgi:app", "--host", "0.0.0.0", "--port", "8080"]
|
|
ports:
|
|
- "127.0.0.1:8080:8080"
|
|
volumes: *api-volumes
|
|
healthcheck:
|
|
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8080/readyz')"]
|
|
interval: 15s
|
|
timeout: 5s
|
|
retries: 5
|
|
depends_on:
|
|
db:
|
|
condition: service_healthy
|
|
redis:
|
|
condition: service_healthy
|
|
|
|
worker:
|
|
<<: [*api-build, *api-env]
|
|
command: ["celery", "-A", "app.workers.celery_app", "worker", "-Q", "celery,render,housekeeping", "--concurrency=2", "--loglevel=info"]
|
|
volumes: *api-volumes
|
|
depends_on:
|
|
db:
|
|
condition: service_healthy
|
|
redis:
|
|
condition: service_healthy
|
|
|
|
beat:
|
|
<<: [*api-build, *api-env]
|
|
command: ["celery", "-A", "app.workers.celery_app", "beat", "--loglevel=info"]
|
|
volumes: *api-volumes
|
|
depends_on:
|
|
db:
|
|
condition: service_healthy
|
|
redis:
|
|
condition: service_healthy
|
|
|
|
api-generation-worker:
|
|
<<: [*generation-build, *api-env]
|
|
environment:
|
|
PYTHONPATH: /workspace/packages/provider-adapter-kit/python:/workspace/apps/api/engine:/workspace/apps/api:/workspace
|
|
REDIS_HOST: redis
|
|
NEON_DATABASE_URL: postgresql+psycopg://reelforge:reelforge@db:5432/reelforge
|
|
REELFORGE_BACKEND_ROOT: /workspace/apps/api
|
|
REELFORGE_ENGINE_ROOT: /workspace/apps/api/engine
|
|
command: ["celery", "-A", "app.workers.celery_app", "worker", "-Q", "generation", "--concurrency=1", "--loglevel=info"]
|
|
volumes: *api-volumes
|
|
deploy:
|
|
resources:
|
|
reservations:
|
|
devices:
|
|
- driver: nvidia
|
|
count: 1
|
|
capabilities: [gpu]
|
|
depends_on:
|
|
db:
|
|
condition: service_healthy
|
|
redis:
|
|
condition: service_healthy
|
|
|
|
web:
|
|
build:
|
|
context: .
|
|
dockerfile: apps/web/Dockerfile
|
|
environment:
|
|
NEXT_PUBLIC_API_BASE: http://localhost:8080/api/v1
|
|
ports:
|
|
- "127.0.0.1:3000:3000"
|
|
depends_on:
|
|
api:
|
|
condition: service_healthy
|
|
|
|
volumes:
|
|
reelforge-db-data:
|
|
reelforge-redis-data:
|