Files
thebet365/.env.docker.example
Mars e52cac7444 feat(deploy): add Docker full-stack deployment and server pack scripts
Enable one-click production deploy via docker-compose.prod.yml, with deployment docs and zip packaging for Baota upload.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-08 16:24:06 +08:00

20 lines
512 B
Plaintext
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.
# 复制为 .env.docker 后修改
# cp .env.docker.example .env.docker
# PostgreSQL生产务必修改
POSTGRES_PASSWORD=thebet365
# JWT生产务必修改
JWT_SECRET=change-me-in-production-use-long-random-string
JWT_PLAYER_EXPIRES=24h
JWT_ADMIN_EXPIRES=2h
JWT_AGENT_EXPIRES=8h
# 首次部署写入演示账号与默认数据,完成后改为 false
SEED_DATABASE=true
# 对外端口(宝塔/Nginx 反代时可改回 80/443 或保留以下端口)
API_PORT=3000
PLAYER_PORT=8080
ADMIN_PORT=8081