- Finnhub: Add missing /test endpoint - AlphaVantage: Fix test endpoint deserialization (handle null api_url) - Mock Provider: Add /test endpoint and fix Zodios validation error by adding Mock enum - Deployment: Remove Mock Provider from production deployment script - Infrastructure: Add production Dockerfiles and compose configs
24 lines
744 B
Plaintext
24 lines
744 B
Plaintext
# 加载生产环境配置
|
||
docker_compose('docker-compose.prod.yml')
|
||
|
||
# 定义服务列表
|
||
# 这些服务涉及到代码编译(Release 模式)或构建(前端),过程较慢
|
||
# 我们将它们设置为手动触发模式,避免开发过程中意外修改文件导致自动触发漫长的重构建
|
||
services = [
|
||
'data-persistence-service',
|
||
'api-gateway',
|
||
'mock-provider-service',
|
||
'alphavantage-provider-service',
|
||
'tushare-provider-service',
|
||
'finnhub-provider-service',
|
||
'yfinance-provider-service',
|
||
'report-generator-service',
|
||
'workflow-orchestrator-service',
|
||
'frontend'
|
||
]
|
||
|
||
# 遍历设置触发模式为手动 (Manual)
|
||
for name in services:
|
||
dc_resource(name, trigger_mode=TRIGGER_MODE_MANUAL)
|
||
|