fix: 将服务端口从8000系列改为18000系列以避免冲突
This commit is contained in:
parent
92029b89e9
commit
3e358bfa03
@ -2,7 +2,7 @@
|
||||
"service": {
|
||||
"address": "data-service",
|
||||
"check": {
|
||||
"http": "http://10.195.102.127:8000/api/public/stock_bid_ask_em?symbol=000001",
|
||||
"http": "http://10.195.102.127:18000/api/public/stock_bid_ask_em?symbol=000001",
|
||||
"interval": "10s",
|
||||
"timeout": "5s"
|
||||
},
|
||||
@ -16,6 +16,6 @@
|
||||
"traefik.http.routers.data-service.middlewares=data-service-stripprefix@consulcatalog"
|
||||
],
|
||||
"name": "data-service",
|
||||
"port": 8000
|
||||
"port": 18000
|
||||
}
|
||||
}
|
||||
@ -2,7 +2,7 @@
|
||||
"service": {
|
||||
"address": "emotion-service",
|
||||
"check": {
|
||||
"http": "http://10.195.102.127:8002/health",
|
||||
"http": "http://10.195.102.127:18002/health",
|
||||
"interval": "10s",
|
||||
"timeout": "5s"
|
||||
},
|
||||
@ -15,6 +15,6 @@
|
||||
"traefik.http.routers.emotion-service.middlewares=emotion-service-stripprefix@consulcatalog"
|
||||
],
|
||||
"name": "emotion-service",
|
||||
"port": 8002
|
||||
"port": 18002
|
||||
}
|
||||
}
|
||||
@ -2,7 +2,7 @@
|
||||
"service": {
|
||||
"address": "frontend",
|
||||
"check": {
|
||||
"http": "http://10.195.102.127:8080/",
|
||||
"http": "http://10.195.102.127:180/",
|
||||
"interval": "10s",
|
||||
"timeout": "5s"
|
||||
},
|
||||
@ -14,6 +14,6 @@
|
||||
"traefik.http.routers.frontend.entrypoints=web"
|
||||
],
|
||||
"name": "frontend",
|
||||
"port": 80
|
||||
"port": 180
|
||||
}
|
||||
}
|
||||
@ -2,7 +2,7 @@
|
||||
"service": {
|
||||
"address": "quant-service",
|
||||
"check": {
|
||||
"http": "http://10.195.102.127:8001/health",
|
||||
"http": "http://10.195.102.127:18001/health",
|
||||
"interval": "10s",
|
||||
"timeout": "5s"
|
||||
},
|
||||
@ -15,6 +15,6 @@
|
||||
"traefik.http.routers.quant-service.middlewares=quant-service-stripprefix@consulcatalog"
|
||||
],
|
||||
"name": "quant-service",
|
||||
"port": 8001
|
||||
"port": 18001
|
||||
}
|
||||
}
|
||||
@ -2,7 +2,7 @@
|
||||
"service": {
|
||||
"address": "recommend-service",
|
||||
"check": {
|
||||
"http": "http://10.195.102.127:8003/health",
|
||||
"http": "http://10.195.102.127:18003/health",
|
||||
"interval": "10s",
|
||||
"timeout": "5s"
|
||||
},
|
||||
@ -15,6 +15,6 @@
|
||||
"traefik.http.routers.recommend-service.middlewares=recommend-service-stripprefix@consulcatalog"
|
||||
],
|
||||
"name": "recommend-service",
|
||||
"port": 8003
|
||||
"port": 18003
|
||||
}
|
||||
}
|
||||
@ -2,7 +2,7 @@
|
||||
"service": {
|
||||
"address": "user-service",
|
||||
"check": {
|
||||
"http": "http://10.195.102.127:8004/health",
|
||||
"http": "http://10.195.102.127:18004/health",
|
||||
"interval": "10s",
|
||||
"timeout": "5s"
|
||||
},
|
||||
@ -15,6 +15,6 @@
|
||||
"traefik.http.routers.user-service.middlewares=user-service-stripprefix@consulcatalog"
|
||||
],
|
||||
"name": "user-service",
|
||||
"port": 8004
|
||||
"port": 18004
|
||||
}
|
||||
}
|
||||
@ -10,7 +10,7 @@ services:
|
||||
container_name: ari-data-service
|
||||
restart: always
|
||||
ports:
|
||||
- "8000:8000"
|
||||
- "18000:8000"
|
||||
networks:
|
||||
- microservice-network
|
||||
environment:
|
||||
@ -23,7 +23,7 @@ services:
|
||||
expose:
|
||||
- "8001"
|
||||
ports:
|
||||
- "8001:8001"
|
||||
- "18001:8001"
|
||||
networks:
|
||||
- microservice-network
|
||||
environment:
|
||||
@ -36,7 +36,7 @@ services:
|
||||
expose:
|
||||
- "8002"
|
||||
ports:
|
||||
- "8002:8002"
|
||||
- "18002:8002"
|
||||
networks:
|
||||
- microservice-network
|
||||
environment:
|
||||
@ -49,7 +49,7 @@ services:
|
||||
expose:
|
||||
- "8003"
|
||||
ports:
|
||||
- "8003:8003"
|
||||
- "18003:8003"
|
||||
networks:
|
||||
- microservice-network
|
||||
environment:
|
||||
@ -62,7 +62,7 @@ services:
|
||||
expose:
|
||||
- "8004"
|
||||
ports:
|
||||
- "8004:8004"
|
||||
- "18004:8004"
|
||||
networks:
|
||||
- microservice-network
|
||||
environment:
|
||||
@ -82,7 +82,7 @@ services:
|
||||
expose:
|
||||
- "80"
|
||||
ports:
|
||||
- "8080:8080"
|
||||
- "180:80"
|
||||
networks:
|
||||
- microservice-network
|
||||
environment:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user