mirror of
https://github.com/evroon/bracket.git
synced 2025-12-24 06:39:02 -05:00
51 lines
1.1 KiB
YAML
51 lines
1.1 KiB
YAML
version: "0.5"
|
|
log_level: debug
|
|
|
|
processes:
|
|
frontend:
|
|
working_dir: "frontend"
|
|
command: "pnpm run dev --port 3000"
|
|
availability:
|
|
restart: "on_failure"
|
|
readiness_probe:
|
|
http_get:
|
|
host: 127.0.0.1
|
|
scheme: http
|
|
path: "/"
|
|
port: 3000
|
|
timeout_seconds: 10
|
|
failure_threshold: 999
|
|
period_seconds: 10
|
|
|
|
backend:
|
|
working_dir: "backend"
|
|
command: "uv run gunicorn -k bracket.uvicorn.RestartableUvicornWorker bracket.app:app --bind localhost:8400 --workers 1 --reload"
|
|
availability:
|
|
restart: "on_failure"
|
|
environment:
|
|
- "ENVIRONMENT=DEVELOPMENT"
|
|
readiness_probe:
|
|
http_get:
|
|
host: 127.0.0.1
|
|
scheme: http
|
|
path: "/ping"
|
|
port: 8400
|
|
timeout_seconds: 10
|
|
failure_threshold: 999
|
|
period_seconds: 10
|
|
|
|
docs:
|
|
working_dir: "docs"
|
|
command: "pnpm run dev --port 3001"
|
|
availability:
|
|
restart: "on_failure"
|
|
readiness_probe:
|
|
http_get:
|
|
host: 127.0.0.1
|
|
scheme: http
|
|
path: "/"
|
|
port: 3001
|
|
timeout_seconds: 10
|
|
failure_threshold: 999
|
|
period_seconds: 10
|