Star

linkEnvironment Variables

Kener needs some environment variables to be set to run properly. Here are the list of environment variables that you need to set.

linkPUBLIC_KENER_FOLDER (Required)

1linkexport PUBLIC_KENER_FOLDER=/path/to/a/directory

linkPORT

Defaults to 3000 if not specified

1linkexport PORT=4242

linkGH_TOKEN

A github token to read issues and create labels

1linkexport GH_TOKEN=your-github-token

linkAPI_TOKEN

To talk to kener apis you will need to set up a token. It uses Bearer Authorization

1linkexport API_TOKEN=sometoken

linkAPI_IP

While using API you can set this variable to accept request from a specific IP

1linkexport API_IP=127.0.0.1

linkAPI_IP_REGEX

While using API you can set this variable to accept request from a specific IP that matches the regex. Below example shows an IPv6 regex

1linkexport API_IP_REGEX=^([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}$

If you set both API_IP and API_IP_REGEX, API_IP will be given preference

linkMONITOR_YAML_PATH

1linkexport MONITOR_YAML_PATH=/your/path/monitors.yaml

linkSITE_YAML_PATH

1linkexport SITE_YAML_PATH=/your/path/site.yaml

If you do not specify MONITOR_YAML_PATH or SITE_YAML_PATH it will take the values from /config/site.yaml and /config/monitor.yaml respectively

linkKENER_BASE_PATH

By default kener runs on / but you can change it to /status or any other path.

1linkexport KENER_BASE_PATH=/status

Environment VariablesPUBLIC_KENER_FOLDER (Required)PORTGH_TOKENAPI_TOKENAPI_IPAPI_IP_REGEXMONITOR_YAML_PATHSITE_YAML_PATHKENER_BASE_PATH

Home Quick Start How it works Environment Variables Deployment Github Setup Customize Site Internationalization Monitors Monitor Examples Incident Management Kener APIs Status Badges Showcase