diff --git a/consul/config/dev/data-service.json b/consul/config/dev/data-service.json index df2bc95..c2a790f 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:18000/api/public/stock_bid_ask_em?symbol=000001", + "http": "http://data-service:8000/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": 18000 + "port": 8000 } } \ No newline at end of file diff --git a/consul/config/dev/emotion-service.json b/consul/config/dev/emotion-service.json index 524c5fb..9494079 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:18002/health", + "http": "http://emotion-service:8002/health", "interval": "10s", "timeout": "5s" }, @@ -15,6 +15,6 @@ "traefik.http.routers.emotion-service.middlewares=emotion-service-stripprefix@consulcatalog" ], "name": "emotion-service", - "port": 18002 + "port": 8002 } } \ No newline at end of file diff --git a/consul/config/dev/frontend.json b/consul/config/dev/frontend.json index 4b80dad..f288fbc 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:180/", + "http": "http://frontend/", "interval": "10s", "timeout": "5s" }, @@ -14,6 +14,6 @@ "traefik.http.routers.frontend.entrypoints=web" ], "name": "frontend", - "port": 180 + "port": 80 } } \ No newline at end of file diff --git a/consul/config/dev/quant-service.json b/consul/config/dev/quant-service.json index 9e483ef..c049613 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:18001/health", + "http": "http://quant-service:8001/health", "interval": "10s", "timeout": "5s" }, @@ -15,6 +15,6 @@ "traefik.http.routers.quant-service.middlewares=quant-service-stripprefix@consulcatalog" ], "name": "quant-service", - "port": 18001 + "port": 8001 } } \ No newline at end of file diff --git a/consul/config/dev/recommend-service.json b/consul/config/dev/recommend-service.json index 32efb08..bcc2851 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:18003/health", + "http": "http://user-service:8003/health", "interval": "10s", "timeout": "5s" }, @@ -15,6 +15,6 @@ "traefik.http.routers.recommend-service.middlewares=recommend-service-stripprefix@consulcatalog" ], "name": "recommend-service", - "port": 18003 + "port": 8003 } } \ No newline at end of file diff --git a/consul/config/dev/user-service.json b/consul/config/dev/user-service.json index 4327c82..3bc7c0a 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:18004/health", + "http": "http://user-service:8004/health", "interval": "10s", "timeout": "5s" }, @@ -15,6 +15,6 @@ "traefik.http.routers.user-service.middlewares=user-service-stripprefix@consulcatalog" ], "name": "user-service", - "port": 18004 + "port": 8004 } } \ No newline at end of file diff --git a/services/emotion-service/Dockerfile b/services/emotion-service/Dockerfile index f5f0e88..d32daf2 100644 --- a/services/emotion-service/Dockerfile +++ b/services/emotion-service/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10-slim +FROM python:3.11-slim-bullseye WORKDIR /app COPY requirements.txt . RUN pip install -r requirements.txt diff --git a/services/quant-service/Dockerfile b/services/quant-service/Dockerfile index a7914a6..bda6e82 100644 --- a/services/quant-service/Dockerfile +++ b/services/quant-service/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10-slim +FROM python:3.11-slim-bullseye WORKDIR /app COPY requirements.txt . RUN pip install -r requirements.txt