This commit is contained in:
wchino
2026-06-13 17:38:25 +08:00
parent e7e938f261
commit 7b33d9f9fa
190 changed files with 23222 additions and 4336 deletions

View File

@@ -1,6 +1,6 @@
# TheBet365 全栈生产部署
# 一键启动: docker compose -f docker-compose.prod.yml up -d --build
# 首次部署建议 SEED_DATABASE=true见 .env.docker
# 首次部署: ./scripts/deploy-first.sh
# 后续更新: ./scripts/deploy-update.sh
services:
postgres:
@@ -36,6 +36,7 @@ services:
- thebet365
api:
image: thebet365-api:latest
build:
context: .
dockerfile: docker/api/Dockerfile
@@ -55,13 +56,14 @@ services:
condition: service_healthy
redis:
condition: service_healthy
ports:
- '${API_PORT:-3000}:3000'
expose:
- '3000'
restart: unless-stopped
networks:
- thebet365
player:
image: thebet365-player:latest
build:
context: .
dockerfile: docker/player/Dockerfile
@@ -75,6 +77,7 @@ services:
- thebet365
admin:
image: thebet365-admin:latest
build:
context: .
dockerfile: docker/admin/Dockerfile