aboutsummaryrefslogtreecommitdiff
path: root/web/ui/.env.example
diff options
context:
space:
mode:
Diffstat (limited to 'web/ui/.env.example')
-rw-r--r--web/ui/.env.example12
1 files changed, 12 insertions, 0 deletions
diff --git a/web/ui/.env.example b/web/ui/.env.example
new file mode 100644
index 0000000..7c46cee
--- /dev/null
+++ b/web/ui/.env.example
@@ -0,0 +1,12 @@
+# Copy to .env and fill in.
+#
+# Required. Sign the session cookie with something long and random.
+# Generate one with: openssl rand -base64 48
+JWT_SECRET=rUEqmzPFEzTx1SS1AC2k8XcXaQwoy6sDmMARjpYFlq6BYA0Dxw1PqcY7S5mVpTWi
+
+# Optional. Where the SQLite file lives. Defaults to ./data/dashboard.db
+DATABASE_PATH=./data/dashboard.db
+
+# Optional. Base URL the magic-link emails point back at.
+# Used when stubbed emails are logged to the console.
+PUBLIC_BASE_URL=http://localhost:5174