feat: add mise base

This commit is contained in:
engigu
2026-02-12 12:10:44 +08:00
parent 5e1ea6b93f
commit be6a490a19
8 changed files with 87 additions and 77 deletions
+25
View File
@@ -0,0 +1,25 @@
services:
baihu:
build:
context: .
dockerfile: docker/Dockerfile
ports:
- "8052:8052"
volumes:
- ./data:/app/data
- ./configs:/app/configs
- ./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