2021-03-10 16:36:55 +00:00
|
|
|
ENVIRONMENT=dev
|
|
|
|
HOST=0.0.0.0
|
2021-03-16 09:37:29 +00:00
|
|
|
PORT=8086
|
2021-03-10 16:36:55 +00:00
|
|
|
DEBUG=false
|
2021-09-11 09:47:58 +00:00
|
|
|
SUPERUSERS=[]
|
2021-03-10 16:36:55 +00:00
|
|
|
|
|
|
|
PLUGINS=[]
|
|
|
|
PLUGIN_DIRS=["src/plugins"]
|
|
|
|
|
|
|
|
# leaving space to load from system env
|
|
|
|
|
2021-06-10 15:45:32 +00:00
|
|
|
# wkhtmltox, install and change to true only on headless server if using wkhtmltox
|
2021-04-08 16:31:35 +00:00
|
|
|
XVFB_INSTALLED=false
|
2021-04-02 06:52:07 +00:00
|
|
|
|
2021-06-10 15:45:32 +00:00
|
|
|
# redis, password and username are optional
|
2021-03-13 10:23:15 +00:00
|
|
|
REDIS_HOST=
|
|
|
|
REDIS_PORT=
|
|
|
|
REDIS_DB=
|
|
|
|
REDIS_PASSWORD=
|
|
|
|
REDIS_USERNAME=
|
|
|
|
|
2021-03-16 09:07:12 +00:00
|
|
|
# nonebot-plugin-status
|
2022-05-23 06:01:19 +00:00
|
|
|
SERVER_STATUS_TEMPLATE="
|
|
|
|
CPU: {{ '%02d' % cpu_usage }}%
|
|
|
|
Memory: {{ '%02d' % memory_usage }}%
|
|
|
|
Disk:
|
|
|
|
{%- for name, usage in disk_usage.items() %}
|
|
|
|
{{ name }}: {{ '%02d' % usage.percent }}%
|
|
|
|
{%- endfor %}
|
|
|
|
Uptime: {{ uptime }}
|
|
|
|
"
|
2021-03-16 09:07:12 +00:00
|
|
|
|
2021-03-10 16:36:55 +00:00
|
|
|
# nonebot-plugin-sentry
|
2021-06-10 15:45:32 +00:00
|
|
|
# leave sentry_dsn empty to disable sentry bug trace
|
2021-03-10 16:36:55 +00:00
|
|
|
# See Also: https://sentry.io/
|
|
|
|
SENTRY_DSN=
|
|
|
|
|
|
|
|
# github
|
2021-06-10 15:45:32 +00:00
|
|
|
# github api will be limited without Github OAuth App client
|
|
|
|
# webhook will be disabled without self domain name
|
2021-03-10 16:36:55 +00:00
|
|
|
# See Also: https://github.com/settings/developers
|
|
|
|
GITHUB_CLIENT_ID=
|
|
|
|
GITHUB_CLIENT_SECRET=
|
2021-03-15 17:16:16 +00:00
|
|
|
GITHUB_SELF_HOST=
|
|
|
|
GITHUB_SELF_SSL=false
|