summaryrefslogtreecommitdiffhomepage
path: root/systemd/dispatch.env
blob: f08b5e8b48532ad198c013122fdc2f33c849855f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# /etc/dispatch/env — Dispatch server configuration (systemd EnvironmentFile)
# Copy this to /etc/dispatch/env and fill in your API keys.

# ─── Ports ───────────────────────────────────────────────────────────────────
# Backend HTTP (serves API + frontend static files)
BACKEND_PORT=24991
# Surface WebSocket (frontend live updates + surfaces)
SURFACE_WS_PORT=24990

# ─── Frontend ────────────────────────────────────────────────────────────────
# Directory containing the built frontend static files (served by the backend)
DISPATCH_WEB_DIR=/usr/share/dispatch/web

# ─── Provider (OpenCode Go / OpenAI-compatible) ──────────────────────────────
DISPATCH_API_KEY=sk-...
DISPATCH_BASE_URL=https://opencode.ai/zen/go/v1
DISPATCH_MODEL=deepseek-v4-flash

# ─── Umans provider (optional, set key to enable) ────────────────────────────
# UMANS_API_KEY=sk-...

# ─── Data paths ──────────────────────────────────────────────────────────────
DISPATCH_DB=/var/lib/dispatch/dispatch.db
DISPATCH_TRACE_DB=/var/lib/dispatch/traces.db
DISPATCH_JOURNAL=/var/log/dispatch/app.ndjson