AriStockAI/consul/config/prod/frontend.json
fanfpy f12448c7d8 refactor(consul): 统一服务ID命名并添加部署脚本
- 移除服务ID中的"-1"后缀以保持命名一致性
- 新增build-and-push.sh和run-services.sh部署脚本
- 添加docker-compose.aliyun.yml配置文件
2025-07-17 11:24:39 +08:00

19 lines
495 B
JSON

{
"service": {
"address": "frontend",
"check": {
"http": "http://frontend:80/",
"interval": "10s",
"timeout": "5s"
},
"id": "frontend",
"tags": [
"traefik.enable=true",
"traefik.http.routers.frontend.rule=PathPrefix(`/`) || PathPrefix(`/index.html`) || PathPrefix(`/static`)",
"traefik.http.routers.frontend.priority=10",
"traefik.http.routers.frontend.entrypoints=web"
],
"name": "frontend",
"port": 80
}
}