feat: support env start

This commit is contained in:
engigu
2025-12-24 08:47:02 +08:00
parent 0f5b7666cc
commit 7193571f1d
4 changed files with 146 additions and 12 deletions
+11
View File
@@ -11,4 +11,15 @@ services:
- ./envs:/app/envs
environment:
- TZ=Asia/Shanghai
# 以下环境变量可覆盖配置文件(可选)
# - BH_SERVER_PORT=8052
# - BH_SERVER_HOST=0.0.0.0
# - BH_DB_TYPE=mysql
# - BH_DB_HOST=localhost
# - BH_DB_PORT=3306
# - BH_DB_USER=root
# - BH_DB_PASSWORD=password
# - BH_DB_NAME=baihu
# - BH_DB_TABLE_PREFIX=baihu_
# - BH_SECRET=your_secret_key
restart: unless-stopped