feat(WP-0004): railiance deployment & service ops
- Dockerfile (multi-stage, uv-based, slim runtime)
- .dockerignore
- docker-compose.railiance.yml (Temporal + NATS + PG, no Elasticsearch)
- GET /health endpoint (db + temporal probes, 200/503)
- .env.example (complete env var reference)
- Makefile: migrate, sync-all, dev-up/down, railiance-up/down,
start-worker, start-api, start-event-router, help targets;
extracted sync-event-types Python to scripts/sync_event_types.py
- SIGTERM graceful shutdown in worker.py and event_router.py
- docs/runbook.md: Railiance deployment section
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 00:04:39 +02:00
|
|
|
# ── Required ──────────────────────────────────────────────────────────────────
|
|
|
|
|
# PostgreSQL connection string for activity-core application data.
|
|
|
|
|
ACTCORE_DB_URL=postgresql+asyncpg://actcore:actcore@app-db:5432/actcore
|
|
|
|
|
|
|
|
|
|
# ── Temporal ──────────────────────────────────────────────────────────────────
|
|
|
|
|
# Temporal frontend gRPC address.
|
|
|
|
|
TEMPORAL_HOST=temporal:7233
|
|
|
|
|
# Temporal namespace (must exist before workers start).
|
|
|
|
|
TEMPORAL_NAMESPACE=default
|
|
|
|
|
|
|
|
|
|
# ── NATS ──────────────────────────────────────────────────────────────────────
|
|
|
|
|
# NATS server URL. JetStream must be enabled (-js flag).
|
|
|
|
|
NATS_URL=nats://nats:4222
|
|
|
|
|
|
|
|
|
|
# ── Service integrations (gracefully degraded if unavailable) ─────────────────
|
|
|
|
|
# State Hub — used by the state-hub context adapter. Binds {} on failure.
|
|
|
|
|
STATE_HUB_URL=http://127.0.0.1:8000
|
|
|
|
|
# Repo scoping — used by the repo-scoping context adapter. Binds {} on failure.
|
|
|
|
|
REPO_SCOPING_URL=http://127.0.0.1:8020
|
|
|
|
|
# Issue Core — task emission backend.
|
2026-06-18 22:30:13 +02:00
|
|
|
ISSUE_CORE_URL=http://127.0.0.1:8765
|
|
|
|
|
# Shared ingestion key — must match issue-core's ISSUE_CORE_API_KEY.
|
|
|
|
|
ISSUE_CORE_API_KEY=
|
feat(WP-0004): railiance deployment & service ops
- Dockerfile (multi-stage, uv-based, slim runtime)
- .dockerignore
- docker-compose.railiance.yml (Temporal + NATS + PG, no Elasticsearch)
- GET /health endpoint (db + temporal probes, 200/503)
- .env.example (complete env var reference)
- Makefile: migrate, sync-all, dev-up/down, railiance-up/down,
start-worker, start-api, start-event-router, help targets;
extracted sync-event-types Python to scripts/sync_event_types.py
- SIGTERM graceful shutdown in worker.py and event_router.py
- docs/runbook.md: Railiance deployment section
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 00:04:39 +02:00
|
|
|
# Sink type: 'rest' (POST to issue-core) or 'null' (discard, for dry-run).
|
2026-07-21 21:40:08 +02:00
|
|
|
# state-hub (default, no Forgejo) | null (dry-run) | rest (issue-core opt-in)
|
|
|
|
|
ISSUE_SINK_TYPE=state-hub
|
feat(WP-0004): railiance deployment & service ops
- Dockerfile (multi-stage, uv-based, slim runtime)
- .dockerignore
- docker-compose.railiance.yml (Temporal + NATS + PG, no Elasticsearch)
- GET /health endpoint (db + temporal probes, 200/503)
- .env.example (complete env var reference)
- Makefile: migrate, sync-all, dev-up/down, railiance-up/down,
start-worker, start-api, start-event-router, help targets;
extracted sync-event-types Python to scripts/sync_event_types.py
- SIGTERM graceful shutdown in worker.py and event_router.py
- docs/runbook.md: Railiance deployment section
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 00:04:39 +02:00
|
|
|
|
|
|
|
|
# ── Activity definitions ───────────────────────────────────────────────────────
|
|
|
|
|
# Colon-separated paths to additional activity-definitions/ directories.
|
|
|
|
|
# The local activity-definitions/ directory is always scanned.
|
2026-06-18 07:46:46 +02:00
|
|
|
# Coulomb-loop kaizen engagement definitions (colon-separated for more roots).
|
|
|
|
|
ACTIVITY_DEFINITION_DIRS=/home/worsch/coulomb-loop
|
feat(WP-0004): railiance deployment & service ops
- Dockerfile (multi-stage, uv-based, slim runtime)
- .dockerignore
- docker-compose.railiance.yml (Temporal + NATS + PG, no Elasticsearch)
- GET /health endpoint (db + temporal probes, 200/503)
- .env.example (complete env var reference)
- Makefile: migrate, sync-all, dev-up/down, railiance-up/down,
start-worker, start-api, start-event-router, help targets;
extracted sync-event-types Python to scripts/sync_event_types.py
- SIGTERM graceful shutdown in worker.py and event_router.py
- docs/runbook.md: Railiance deployment section
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 00:04:39 +02:00
|
|
|
|
|
|
|
|
# ── Observability ─────────────────────────────────────────────────────────────
|
|
|
|
|
# Prometheus metrics bind address (Temporal SDK metrics).
|
|
|
|
|
PROMETHEUS_BIND_ADDR=0.0.0.0:9090
|
|
|
|
|
|
|
|
|
|
# ── Security (webhook receiver) ───────────────────────────────────────────────
|
|
|
|
|
# HMAC-SHA256 secret for Gitea webhook signature validation.
|
|
|
|
|
WEBHOOK_SECRET_GITEA=
|
|
|
|
|
# HMAC-SHA256 secret for GitHub webhook signature validation.
|
|
|
|
|
WEBHOOK_SECRET_GITHUB=
|
|
|
|
|
|
|
|
|
|
# ── Curator gate ──────────────────────────────────────────────────────────────
|
|
|
|
|
# 'disabled': accepts active + pending event types (pending logged as warning).
|
|
|
|
|
# 'required': only active event types accepted; pending events are discarded.
|
|
|
|
|
ACTIVITY_CURATOR_GATE=disabled
|