summaryrefslogtreecommitdiffhomepage
path: root/packaging/dispatch-api.conf
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/dispatch-api.conf')
-rw-r--r--packaging/dispatch-api.conf31
1 files changed, 31 insertions, 0 deletions
diff --git a/packaging/dispatch-api.conf b/packaging/dispatch-api.conf
new file mode 100644
index 0000000..9824e16
--- /dev/null
+++ b/packaging/dispatch-api.conf
@@ -0,0 +1,31 @@
+# /etc/dispatch/dispatch-api.conf
+# Environment configuration for the Dispatch API service.
+# This file is sourced by systemd (via EnvironmentFile=) and by the
+# dispatch-api-wrapper.sh script for manual invocation.
+#
+# Lines beginning with '#' are comments and are ignored.
+# Syntax: KEY=value (no spaces around '=', no 'export' keyword needed for systemd)
+
+# ---------------------------------------------------------------------------
+# LLM / AI provider
+# ---------------------------------------------------------------------------
+
+# API key used by the backend to call the OpenCode (or compatible) LLM API.
+OPENCODE_API_KEY=
+
+# ---------------------------------------------------------------------------
+# Runtime environment
+# ---------------------------------------------------------------------------
+
+# Set to "production" for live deployments.
+NODE_ENV=production
+
+# ---------------------------------------------------------------------------
+# Server
+# ---------------------------------------------------------------------------
+
+# Port the API listens on (default: 3000).
+PORT=18390
+
+# Hostname/address to bind to (default: 0.0.0.0).
+# HOST=0.0.0.0