wechat-robot/configs/config.dev.yaml
李寻欢 4ca9c5e2d7
Some checks failed
BuildImage / build-image (push) Has been cancelled
:feature: 添加容器内存限制配置,默认值设置为512MB
2025-04-22 21:21:06 +08:00

41 lines
830 B
YAML
Raw 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.

server:
port: 8080
host: "0.0.0.0"
env: "development"
# 开发环境使用SQLite
database:
type: "mysql"
host: "10.0.0.31"
port: 3307
user: "wechat"
password: "wechat123"
dbname: "wechat_bot"
charset: "utf8mb4"
docker:
host: "http://10.0.0.243:2375"
apiVersion: "1.41"
imageName: "lxh01/xybotv2:latest"
network: "bridge"
memory: 123 # 容器内存限制MB
redis:
host: "10.0.0.31"
password: "pGhQKwj7DE7FbFL1"
db: 2
auth:
type: "password" # 支持 password 和 logto 两种
password:
secretKey: "your-secret-key-change-me" # 加密密钥
adminToken: "admin-token-change-me" # 密码
tokenExpiry: 24 # 登录有效期(小时)
logto:
endpoint: ""
appId: ""
appSecret: ""
logger:
level: "debug"
file: "" # 空表示日志输出到控制台