Files
GenshinUID/deploy/.env.dev
MingxuanGame a5a418f51c 🚀 support deploying by docker
docker build -t genshinuid:v3.1.0 .

nonebot 在 /nb2/nb2,GenshinUID 在 /plugin,需要的可自行挂载(用 docker volume)

默认不带有 go-cqhttp 及 nonebot-plugin-gocqhttp 插件,暴露端口 8080,需要自己连接 go-cqhttp

build 前修改 deploy 文件夹下的 .env.dev 修改镜像的 nonebot2 配置,或者可以运行后挂载 nb2 目录修改
2022-10-03 18:17:18 +08:00

15 lines
418 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 配置 NoneBot2 监听的 IP/主机名(不建议修改)
HOST=0.0.0.0
# 配置 NoneBot2 监听的端口(不建议修改)
PORT=8080
# 配置 NoneBot 超级用户例如你的QQ号
SUPERUSERS=["123456789"]
# 配置命令起始字符
COMMAND_START=["/", ""]
# 建议别删下面这行
FASTAPI_RELOAD=false
# 建议别删上面这行
更多配置参见https://v2.nonebot.dev/docs/tutorial/configuration