summaryrefslogtreecommitdiffhomepage
path: root/packaging/dispatch-frontend.conf
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/dispatch-frontend.conf')
-rw-r--r--packaging/dispatch-frontend.conf21
1 files changed, 21 insertions, 0 deletions
diff --git a/packaging/dispatch-frontend.conf b/packaging/dispatch-frontend.conf
new file mode 100644
index 0000000..37d2984
--- /dev/null
+++ b/packaging/dispatch-frontend.conf
@@ -0,0 +1,21 @@
+# /etc/dispatch/dispatch-frontend.conf
+# Environment configuration for the Dispatch Frontend static-file server.
+# Sourced by systemd (EnvironmentFile=), the s6 run script, and the
+# dispatch-frontend-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)
+
+# ---------------------------------------------------------------------------
+# Server
+# ---------------------------------------------------------------------------
+
+# Port the static file server listens on (default: 18391).
+PORT=18391
+
+# Interface to bind to (default: 0.0.0.0).
+# HOST=0.0.0.0
+
+# Directory containing the built frontend assets.
+# Defaults to /opt/dispatch/packages/frontend/dist
+# DIST_DIR=/opt/dispatch/packages/frontend/dist