Skip to content

OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.

fix: Add SELF_HOSTED variable to .env.template (#288)

Martin22fb4acf1236
diff --git a/self-hosting/.env.template b/self-hosting/.env.template
index c681a6fdb..17dfcb384 100644
--- a/self-hosting/.env.template
+++ b/self-hosting/.env.template
@@ -1,5 +1,6 @@
NODE_ENV="production"
VITE_SELF_HOSTED="true"
+SELF_HOSTED="true"
BATCH_SIZE="5000"
BATCH_INTERVAL="10000"
ALLOW_REGISTRATION="false"
@@ -13,4 +14,4 @@ DASHBOARD_URL="$DASHBOARD_URL"
API_URL="$API_URL"
COOKIE_SECRET="$COOKIE_SECRET"
EMAIL_SENDER="$EMAIL_SENDER"
-RESEND_API_KEY="$RESEND_API_KEY"
\ No newline at end of file
+RESEND_API_KEY="$RESEND_API_KEY"