QQ-GitHub-Bot/.env

46 lines
987 B
Bash
Raw Permalink Normal View History

ENVIRONMENT=dev
HOST=0.0.0.0
PORT=8086
DEBUG=false
SUPERUSERS=[]
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=
# nonebot-plugin-status
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 }}
"
# nonebot-plugin-sentry
2021-06-10 15:45:32 +00:00
# leave sentry_dsn empty to disable sentry bug trace
# 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
# 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