feat: add multi-theme docker compose configuration and batch packaging scripts

This commit is contained in:
2026-06-24 10:57:31 +08:00
parent 71203c66bb
commit 0c2149bfc0
12 changed files with 489 additions and 12 deletions

View File

@@ -22,9 +22,28 @@ RUN_MIGRATIONS_ON_START=false
# 对外端口(宝塔/Nginx 反代推荐只暴露前端API 经反向代理访问)
BIND_ADDR=127.0.0.1
PLAYER_PORT=8082
ADMIN_PORT=8081
# ── 四套 player 镜像 tag 与宿主机端口 ──────────────────────────
# main暗金主站
PLAYER_IMAGE_TAG=main
PLAYER_PORT=8082
# theme-2Pinnacle 蓝白)
PLAYER2_IMAGE_TAG=theme-2
PLAYER2_PORT=8083
# theme-3统一移动端视觉
PLAYER3_IMAGE_TAG=theme-3
PLAYER3_PORT=8084
# theme-4海军蓝暗色极简
PLAYER4_IMAGE_TAG=theme-4
PLAYER4_PORT=8085
# CORS 白名单:四个玩家站域名 + 管理后台(逗号分隔,勿含空格,勿带末尾 /
# CORS_ORIGINS=https://www.example.com,https://theme2.example.com,https://theme3.example.com,https://theme4.example.com,https://admin.example.com
# 管理端构建时注入:生成邀请注册链接的玩家端公网地址(勿带末尾 /
VITE_PLAYER_URL=https://www.thebet365.net