Configuration
Leek components are configured using environment variables.
API
Name | Description | Default |
---|---|---|
LEEK_ENABLE_API | Whether to enable or disable the API. | false |
LEEK_ES_URL | ElasticSearch index db domain URL | None |
LEEK_API_LOG_LEVEL | Log level, set it to ERROR after making sure that the agent can reach brokers and api. | INFO |
LEEK_WEB_URL | Frontend application url, will be used when constructing slack triggers notifications. | None |
LEEK_API_OWNER_ORG | The owner organization name that can manage leek, it should be domain name for gsuite organizations, and google username for personal account. | None |
LEEK_API_WHITELISTED_ORGS | A list of organizations whitelisted to use Leek, it should be domain name for gsuite organizations, and google username for personal account. | None |
Agent
Name | Description | Default |
---|---|---|
LEEK_ENABLE_AGENT | Whether to enable or disable the agent. | false |
LEEK_AGENT_LOG_LEVEL | Log level, set it to ERROR after making sure that the agent can reach brokers and api. | INFO |
LEEK_AGENT_SUBSCRIPTIONS | A json string configuration descriptor with list of subscriptions. | None |
LEEK_AGENT_API_SECRET | The shared api secret that will be used by local agent to connect to Leek API. | None |
Web
Name | Description | Default |
---|---|---|
LEEK_ENABLE_WEB | Whether to enable or disable the WEB Application. | false |
LEEK_API_URL | Leek API URL in the form of https://api-host:port. | http://0.0.0.0:5000 |
LEEK_FIREBASE_PROJECT_ID | Firebase project id | None |
LEEK_FIREBASE_APP_ID | Firebase web application id | None |
LEEK_FIREBASE_API_KEY | Firebase web application key | None |
LEEK_FIREBASE_AUTH_DOMAIN | Firebase auth domain | None |