lilith-platform.live/deployments/@domains/quinn.admin-api/services.yaml
2026-05-26 10:34:46 -07:00

30 lines
1.2 KiB
YAML

# =============================================================================
# Quinn Admin API on Black (api.black.lan) — canonical origin, mesh-only
# =============================================================================
# Canonical writer for /admin/* and origin for /www/*. Public internet reaches
# /www/* via vps-0:quinn.api-cache (nginx proxy_cache). Admin writes come
# directly from WireGuard mesh clients (plum, etc.) — never through vps.
#
# Target deployment for the lilith-platform.live `feat/admin-api-on-black-target-arch`
# migration. See ~/.claude/plans/quiet-pulsing-anchor.md.
deployment:
id: quinn.admin-api
name: Quinn Admin API (black)
domain: api.black.lan
description: >-
Canonical admin/api origin on black. Mesh-only (bound to WireGuard
interface). Replaces vps-0:quinn.admin runtime; the legacy quinn.admin
deployment is retired after this lands.
services:
- id: api
type: backend
port: 3023
bind: 10.0.0.11 # mesh-only — never 0.0.0.0
entrypoint: codebase/@features/api
startCommand: bun dev
description: API monolith (@features/api) — admin + public read endpoints
healthCheck:
type: http
path: /www/tour/status