重构
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user