From 3e358bfa031644169b778b6a1e96c7ebc04fea4a Mon Sep 17 00:00:00 2001 From: fanfpy Date: Mon, 21 Jul 2025 18:10:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=B0=86=E6=9C=8D=E5=8A=A1=E7=AB=AF?= =?UTF-8?q?=E5=8F=A3=E4=BB=8E8000=E7=B3=BB=E5=88=97=E6=94=B9=E4=B8=BA18000?= =?UTF-8?q?=E7=B3=BB=E5=88=97=E4=BB=A5=E9=81=BF=E5=85=8D=E5=86=B2=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- consul/config/dev/data-service.json | 4 ++-- consul/config/dev/emotion-service.json | 4 ++-- consul/config/dev/frontend.json | 4 ++-- consul/config/dev/quant-service.json | 4 ++-- consul/config/dev/recommend-service.json | 4 ++-- consul/config/dev/user-service.json | 4 ++-- docker-compose.local.yml | 12 ++++++------ 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/consul/config/dev/data-service.json b/consul/config/dev/data-service.json index 87eea3e..df2bc95 100644 --- a/consul/config/dev/data-service.json +++ b/consul/config/dev/data-service.json @@ -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 } } \ No newline at end of file diff --git a/consul/config/dev/emotion-service.json b/consul/config/dev/emotion-service.json index 8fd5d0d..524c5fb 100644 --- a/consul/config/dev/emotion-service.json +++ b/consul/config/dev/emotion-service.json @@ -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 } } \ No newline at end of file diff --git a/consul/config/dev/frontend.json b/consul/config/dev/frontend.json index 09cd8bd..4b80dad 100644 --- a/consul/config/dev/frontend.json +++ b/consul/config/dev/frontend.json @@ -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 } } \ No newline at end of file diff --git a/consul/config/dev/quant-service.json b/consul/config/dev/quant-service.json index ad79b9e..9e483ef 100644 --- a/consul/config/dev/quant-service.json +++ b/consul/config/dev/quant-service.json @@ -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 } } \ No newline at end of file diff --git a/consul/config/dev/recommend-service.json b/consul/config/dev/recommend-service.json index 8b92f18..32efb08 100644 --- a/consul/config/dev/recommend-service.json +++ b/consul/config/dev/recommend-service.json @@ -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 } } \ No newline at end of file diff --git a/consul/config/dev/user-service.json b/consul/config/dev/user-service.json index 528e5df..4327c82 100644 --- a/consul/config/dev/user-service.json +++ b/consul/config/dev/user-service.json @@ -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 } } \ No newline at end of file diff --git a/docker-compose.local.yml b/docker-compose.local.yml index c65afd2..4fc9ff4 100644 --- a/docker-compose.local.yml +++ b/docker-compose.local.yml @@ -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: