Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
826cb1c
master <-develop
veardk Sep 28, 2025
ecd9a00
Add files via upload
veardk Sep 28, 2025
815d74d
Update README.md
veardk Sep 28, 2025
6824838
Update README.md
veardk Oct 14, 2025
f1755ab
docs: update docs (#64)
veardk Oct 14, 2025
0f7e003
Delete remove docs (#65)
veardk Oct 14, 2025
dd68bb1
Delete docs (#66)
veardk Oct 14, 2025
db231fc
Delete image (#67)
veardk Oct 14, 2025
835915e
Delete image (#68)
veardk Oct 14, 2025
6e01258
chore: streamline startup and staging deployment
ailuckly Mar 31, 2026
4bd26c3
fix: resolve frontend ci failures
ailuckly Mar 31, 2026
2bc53b7
Merge pull request #1 from ailuckly/chore/init-startup
ailuckly Mar 31, 2026
cbb0a1f
Merge origin/master into develop
ailuckly Mar 31, 2026
03aabf6
docs: initialize README overview
ailuckly Mar 31, 2026
c72e070
fix: use base64 staging ssh key
ailuckly Mar 31, 2026
4069f0c
fix: make staging key file readable in action
ailuckly Mar 31, 2026
1b9bde0
chore: add staging ssh key diagnostics
ailuckly Mar 31, 2026
cecc19b
fix: remove staging environment dependency
ailuckly Mar 31, 2026
d264bba
fix: drop staging ssh diagnostics
ailuckly Mar 31, 2026
5c214ab
fix: use raw staging ssh key
ailuckly Mar 31, 2026
53f76af
docs: add refactor preparation design
ailuckly Apr 1, 2026
c3c16bb
docs: add refactor preparation plan
ailuckly Apr 1, 2026
edd0fda
docs: normalize development environment guidance
ailuckly Apr 1, 2026
a142cf6
docs: add deployment and workflow guides
ailuckly Apr 1, 2026
92fdd0b
docs: define phase-one refactor boundaries
ailuckly Apr 2, 2026
b6e2d05
ci: align validation baseline with local workflow
ailuckly Apr 2, 2026
c32ede5
docs: add development and deployment entry links
ailuckly Apr 2, 2026
0335e80
docs: add first-week refactor preparation checklist
ailuckly Apr 2, 2026
6ac302e
chore: align local runtime configuration surfaces
ailuckly Apr 5, 2026
1f1b7ac
fix: wait for staging services before health check
ailuckly Apr 5, 2026
0573600
chore: retrigger staging deploy
ailuckly Apr 5, 2026
4396d47
fix: simplify staging repository sync
ailuckly Apr 5, 2026
d8d4f41
fix: inline staging deploy metadata
ailuckly Apr 5, 2026
8b5b3b0
fix: replace staging ssh action
ailuckly Apr 5, 2026
4e8d33d
test: establish backend smoke baseline
ailuckly Apr 5, 2026
8c97385
test: consolidate validation entrypoints
ailuckly Apr 5, 2026
91f252b
chore: ignore local workspace artifacts
ailuckly Apr 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
97 changes: 97 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
# ================================
# VocaTa Docker 开发环境模板
# 复制为 `.env` 后,再按本地实际情况补齐第三方配置
# ================================

# Compose 项目标识
COMPOSE_PROJECT_NAME=vocata-dev

# 本地暴露端口
POSTGRES_PORT=55433
REDIS_EXPOSE_PORT=6380
SERVER_PORT=9009
WEB_PORT=3000
ADMIN_PORT=3001
PGADMIN_PORT=5050
MAILHOG_SMTP_PORT=1025
MAILHOG_WEB_PORT=8025

# Spring Profile
SPRING_PROFILES_ACTIVE=local

# PostgreSQL
POSTGRES_DB=vocata_db
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres123

DB_HOST=postgres
DB_PORT=5432
DB_NAME=vocata_db
DB_USERNAME=postgres
DB_PASSWORD=postgres123

# Redis
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_PASSWORD=
REDIS_DATABASE=0

# 前端构建参数
VITE_APP_URL=http://localhost:9009
WEB_BUILD_MODE=production
ADMIN_BUILD_MODE=production

# 邮件
MAIL_USERNAME=
MAIL_PASSWORD=

# 科大讯飞 TTS
XUNFEI_TTS_APP_ID=
XUNFEI_TTS_API_KEY=
XUNFEI_TTS_SECRET_KEY=

# AI provider 选择
AI_LLM_PROVIDER=qiniu
AI_STT_PROVIDER=qiniu
AI_TTS_PROVIDER=xunfei

# 七牛云对象存储
QINIU_ACCESS_KEY=
QINIU_SECRET_KEY=
QINIU_BUCKET=
QINIU_DOMAIN=
QINIU_REGION=huadong
QINIU_KEY_PREFIX=Vocata

# 七牛云 AI
QINIU_AI_API_KEY=
QINIU_AI_BASE_URL=https://openai.qiniu.com/v1
QINIU_AI_MODEL=x-ai/grok-4-fast
QINIU_AI_TIMEOUT=60
QINIU_STT_ENDPOINT=https://openai.qiniu.com/v1
QINIU_STT_MODEL=asr


# Gemini
GEMINI_API_KEY=
GEMINI_BASE_URL=https://generativelanguage.googleapis.com
GEMINI_MODEL=gemini-2.5-flash-lite
GEMINI_TIMEOUT=60


# OpenAI
OPENAI_API_KEY=
OPENAI_BASE_URL=https://api.openai.com
OPENAI_MODEL=gpt-3.5-turbo
OPENAI_TIMEOUT=60


# SiliconFlow
SILICONFLOW_API_KEY=
SILICONFLOW_BASE_URL=https://api.siliconflow.cn/v1
SILICONFLOW_AI_MODEL=Qwen/Qwen3-8B
SILICONFLOW_TIMEOUT=60

# 可选开发工具
PGADMIN_DEFAULT_EMAIL=admin@vocata.com
PGADMIN_DEFAULT_PASSWORD=admin123
8 changes: 4 additions & 4 deletions .github/workflows/cd-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ jobs:
case $service in
"vocata-server")
for i in {1..6}; do
if curl -f -m 10 "http://localhost:9009/api/actuator/health" > /dev/null 2>&1; then
if curl -f -m 10 "http://localhost:9009/api/health" > /dev/null 2>&1; then
echo "✓ 新的后端服务健康检查通过"
break
fi
Expand Down Expand Up @@ -504,7 +504,7 @@ jobs:
for service in "${SERVICES_TO_UPDATE[@]}"; do
case $service in
"vocata-server")
if ! curl -f -m 30 "http://localhost:9009/api/actuator/health" > /dev/null 2>&1; then
if ! curl -f -m 30 "http://localhost:9009/api/health" > /dev/null 2>&1; then
echo "✗ 后端服务最终健康检查失败"
HEALTH_FAILED=true
else
Expand Down Expand Up @@ -649,7 +649,7 @@ jobs:

# API健康检查 (假设使用域名)
echo "验证后端API..."
if curl -f -m 60 "https://api.vocata.com/api/actuator/health" > /dev/null 2>&1; then
if curl -f -m 60 "https://api.vocata.com/api/health" > /dev/null 2>&1; then
echo "✅ 后端API验证通过" >> $GITHUB_STEP_SUMMARY
else
echo "❌ 后端API验证失败" >> $GITHUB_STEP_SUMMARY
Expand Down Expand Up @@ -683,4 +683,4 @@ jobs:
echo "⚠️ **生产环境验证部分失败**" >> $GITHUB_STEP_SUMMARY
echo "请立即检查相关服务状态。" >> $GITHUB_STEP_SUMMARY
exit 1
fi
fi
Loading
Loading