Skip to content

Environments

Vadim Babadzhanyan edited this page Mar 20, 2026 · 5 revisions

Server Environments

Default .env file

TZ=UTC

NGINX_PORT=80

MYSQL_PASSWORD=RootPassword
MYSQL_HOST=mysql
PASSWORD_SALT=bHchLzC3B99Ss1213127fdw876EDghc2gkDdtg

MEMCACHED_HOST=memcached

All available environments

Environment Default Type Description
---------------------------- -------------------- -------- -----------------------------
TZ UTC string Timezone
PASSWORD_SALT string Password Salt
---------------------------- -------------------- -------- -----------------------------
MYSQL_DEBUG false boolean MySQL Debug logs
MYSQL_HOST localhost string MySQL Host
MYSQL_PORT 3306 integer MySQL Port
MYSQL_USERNAME root string MySQL User
MYSQL_PASSWORD string MySQL Password
MYSQL_DB_NAME monitoring string MySQL DB Name
MYSQL_DONT_USE_SLAVE true boolean MySQL Dont Use Slave
MYSQL_SLAVE_HOST MYSQL_HOST string MySQL Slave Host
MYSQL_SLAVE_PORT MYSQL_PORT string MySQL Slave Port
MYSQL_SLAVE_USERNAME MYSQL_USERNAME string MySQL Slave User
MYSQL_SLAVE_PASSWORD MYSQL_PASSWORD string MySQL Slave Password
MYSQL_SLAVE_DB_NAME MYSQL_DB_NAME string MySQL Slave DB Name
---------------------------- -------------------- -------- -----------------------------
APP_SIGNIN_ACTIVE true boolean App Sign In Active
APP_SIGNUP_ACTIVE true boolean App Sign Up Active
APP_DEBUG false boolean App Debug
---------------------------- -------------------- -------- -----------------------------
SMTP_HOST string SMTP Host
SMTP_PORT 25 integer SMTP Port
SMTP_USERNAME string SMTP User
SMTP_PASSWORD string SMTP Password
SMTP_TLS false boolean SMTP TLS
SMTP_SSL false boolean SMTP SSL
---------------------------- -------------------- -------- -----------------------------
OPENIDCONNECT_PROVIDER string OpenID Connect Provider URL
OPENIDCONNECT_CLIENT_ID string OpenID Connect Client Id
OPENIDCONNECT_CLIENT_SECRET string OpenID Connect Client Secret
OPENIDCONNECT_BUTTON string OpenID Connect Button Title
OPENIDCONNECT_SCOPE email profile openid string OpenID Connect Scope
OPENIDCONNECT_REGISTER true boolean OpenID Connect Register Allow
---------------------------- -------------------- -------- -----------------------------
OAUTH_CLIENT_ID string OAuth Client Id
OAUTH_CLIENT_SECRET string OAuth Client Secret
OAUTH_AUTHORIZATION_ENDPOINT string OAuth Authorization Endpoint
OAUTH_TOKEN_ENDPOINT string OAuth Token Endpoint
OAUTH_USERINFO_ENDPOINT string OAuth Userinfo Endpoint
OAUTH_BUTTON string OAuth Button Title
OAUTH_SCOPE self_profile string OAuth Scope
OAUTH_REGISTER true boolean OAuth Register Allow
---------------------------- -------------------- -------- -----------------------------
MEMCACHED_HOST string Memcached Host
MEMCACHED_PORT 11211 integer Memcached Port
---------------------------- -------------------- -------- -----------------------------
TELEGRAM_BOT_TOKEN string Telegram Bot Token
TELEGRAM_PROXY_SOCKS5 true boolean Telegram Proxy Use Socks5
TELEGRAM_PROXY_HOST string Telegram Proxy Host
TELEGRAM_PROXY_PORT 8080 integer Telegram Proxy Port
TELEGRAM_PROXY_USERNAME string Telegram Proxy Username
TELEGRAM_PROXY_PASSWORD string Telegram Proxy Password

Worker Environments

Default .env file

TZ=UTC

SERVER_HOST=https://monitoring.example.com/
WORKER_KEY_HASH=

All available environments

Environment Default Type Description
---------------------------- -------- -------- ----------------------------------------------------------
TZ UTC string Timezone
SERVER_HOST string Your Server URL (https://monitoring.example.com/)
WORKER_KEY_HASH string Your Worker hash
---------------------------- -------- -------- ----------------------------------------------------------
DEBUG false boolean Debug mode
WORKER_THREADS 10 integer Worker threads count
JOBS_GET_TIMEOUT 10 integer How often to request new data from the server (in seconds)
PROXY_HOST string Proxy host
PROXY_TYPE string Proxy type
LOOP_TIMEOUT 200000 integer Delay in the processing loop (in milliseconds)
RESPONSE_SEND_TIMEOUT 10 integer How often to send data to the server (in seconds)
LOGS_WRITE_TIMEOUT 10 integer How often to write logs to the file (in seconds)

Clone this wiki locally