- 移除服务ID中的"-1"后缀以保持命名一致性 - 新增build-and-push.sh和run-services.sh部署脚本 - 添加docker-compose.aliyun.yml配置文件
19 lines
495 B
JSON
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
|
|
}
|
|
} |