Analytics Self-hosting Config
General Settings#
General server settings.
Parameters
- LOGFLARE_SINGLE_TENANTREQUIREDboolean
This is will seed a singular user into the database, and will disable browser authentication. All browser usage will default to this user. Inviting team users and other team-related functionality is currently not supported for self-hosted. Logflare self-hosted is currently intended for single-user experience only.
- LOGFLARE_API_KEYREQUIREDstring
Allows you to pass in an API key that will used for authentication. This is intended for programmatic usage where an external program sets the API key. It is advised to use the UI to configure the access tokens instead. If this value is not provided, the default API key will be automatically generated.
- LOGFLARE_SUPABASE_MODEREQUIREDboolean
This is a special mode for Logflare which will seed additional resources for usage with Supabase self-hosted.
- PHX_HTTP_PORTREQUIREDstring
Port which serves HTTP requests
- DB_SCHEMAREQUIREDstring
This ENV variable sets the search path to a custom database schema. This allows you to customize the schema used on the database.
- LOGFLARE_LOG_LEVELREQUIREDstring
Allows the setting of the log level at runtime. For production settings, we advise `warn`.