Files
congsh 7f17dc826e refactor(deploy): separate Dev/UAT into independent full-stack environments
- Each environment now runs its own PB + LiveKit + Voice Token + frontend
- UAT LiveKit: 7890, Voice Token: 7893 (separate from Dev 7880/7883)
- Remove docker-compose.backend.yml, merge into dev compose
- Delete duplicate bulletin migration files that caused PB crash on startup
- Update CLAUDE.md, nginx configs, and .env files accordingly

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-21 16:12:18 +08:00

21 lines
703 B
Bash
Raw Permalink 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.
#!/bin/bash
# 部署 Dev 全套环境(PocketBase + LiveKit + voice-token + 前端)
echo "🚀 部署 Dev 环境..."
# 确保网络存在
docker network create gamegroup-net 2>/dev/null || true
# 先停掉旧容器(含已改名的 livekit / voice-token
docker rm -f gamegroup-livekit gamegroup-voice-token 2>/dev/null || true
docker compose -f docker-compose.dev.yml up -d --build --force-recreate
echo ""
echo "✅ Dev 环境已启动"
echo "🌐 前端: http://192.168.1.14:7033"
echo "📡 PB API: http://192.168.1.14:8090/api/"
echo "🔧 PB 管理面板: http://192.168.1.14:8090/_/"
echo "🎙️ LiveKit: ws://192.168.1.14:7880"
echo "🔑 Token: http://192.168.1.14:7883"