mirror of
https://github.com/KimigaiiWuyi/GenshinUID.git
synced 2025-07-02 21:13:31 +00:00
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 目录修改
15 lines
418 B
Plaintext
15 lines
418 B
Plaintext
# 配置 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
|