From ef942565a1849cfe28c1525ba873d7f5371a3a01 Mon Sep 17 00:00:00 2001 From: david1542 Date: Mon, 23 Sep 2024 17:01:18 -0700 Subject: [PATCH] Change envoy port --- .env.example | 2 +- config/envoy/envoy.yaml | 2 +- docker-compose.common.yml | 2 +- services/api/.env.dev | 4 ++-- services/slackbot/.env.dev | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.env.example b/.env.example index 9ba9e27..86426bb 100644 --- a/.env.example +++ b/.env.example @@ -101,7 +101,7 @@ LITELLM_PORT=4000 LITELLM_URL=http://litellm:${LITELLM_PORT} # Envoy -ENVOY_PORT=8080 +ENVOY_PORT=9090 ENVOY_URL=http://envoy:${ENVOY_PORT} ################ diff --git a/config/envoy/envoy.yaml b/config/envoy/envoy.yaml index 4cd67ed..4471122 100644 --- a/config/envoy/envoy.yaml +++ b/config/envoy/envoy.yaml @@ -2,7 +2,7 @@ static_resources: listeners: - name: listener_0 address: - socket_address: { address: 0.0.0.0, port_value: 8080 } + socket_address: { address: 0.0.0.0, port_value: 7513 } filter_chains: - filters: - name: envoy.filters.network.http_connection_manager diff --git a/docker-compose.common.yml b/docker-compose.common.yml index a151e6b..375d56c 100644 --- a/docker-compose.common.yml +++ b/docker-compose.common.yml @@ -5,7 +5,7 @@ services: container_name: envoy profiles: ["app", "infra"] ports: - - "8080:8080" + - "${ENVOY_PORT}:${ENVOY_PORT}" volumes: - ./config/envoy/envoy.yaml:/etc/envoy/envoy.yaml postgres-common: diff --git a/services/api/.env.dev b/services/api/.env.dev index 88516fc..dbb82c0 100644 --- a/services/api/.env.dev +++ b/services/api/.env.dev @@ -11,7 +11,7 @@ KRATOS_ADMIN_URL="http://localhost:4434" ORY_WEBHOOK_SECRET="super-secret-ory-webhook-key" CHROMA_HOST="http://localhost:8000" CHROMA_API_KEY="secret-token" -DATA_PROCESSOR_URL=http://localhost:8080/data-processor +DATA_PROCESSOR_URL=http://localhost:7513/data-processor LITELLM_URL=http://localhost:4000 -LOG_PARSER_URL=http://localhost:8080/log-parser +LOG_PARSER_URL=http://localhost:7513/log-parser TELEMETRY_ENABLED=true diff --git a/services/slackbot/.env.dev b/services/slackbot/.env.dev index 877589e..8c3f2d4 100644 --- a/services/slackbot/.env.dev +++ b/services/slackbot/.env.dev @@ -1,3 +1,3 @@ PORT=3003 NODE_ENV=development -API_URL=http://localhost:8080/api \ No newline at end of file +API_URL=http://localhost:7513/api \ No newline at end of file