e6956aa001
- React frontend with route-level code splitting - Backend rebranded from Baihu to TaskPool - DB brand migration script and local compatibility
27 lines
662 B
YAML
27 lines
662 B
YAML
|
|
|
|
services:
|
|
taskpool:
|
|
image: ghcr.io/engigu/taskpool:latest
|
|
container_name: taskpool
|
|
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=taskpool
|
|
# - BH_DB_TABLE_PREFIX=taskpool_
|
|
# - BH_SECRET=your_secret_key
|
|
restart: unless-stopped
|