Skip to content

Commit

Permalink
build: fix service hostnames
Browse files Browse the repository at this point in the history
  • Loading branch information
tyknkd committed May 15, 2024
1 parent e14184f commit 2c5a78e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions deployment/templates/env-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,31 @@ data:
ADDITIONAL_POSTGRES_DB: "analyzer_db,webserver_db,collector_test_db,analyzer_test_db,webserver_test_db"
ANALYZER_DB: "analyzer_db"
ANALYZER_EXCHANGE: "analyzer_exchange"
ANALYZER_HOST: "data-analyzer"
ANALYZER_HOST: "data-analyzer-service"
ANALYZER_PORT: "8887"
ANALYZER_QUEUE: "analyzer_queue"
ANALYZER_ROUTING_KEY: "analyzer_key"
ANALYZER_TEST_DB: "analyzer_test_db"
ANALYZER_TEST_EXCHANGE: "analyzer_test_exchange"
COLLECTOR_DB: "collector_db"
COLLECTOR_EXCHANGE: "collector_exchange"
COLLECTOR_HOST: "data-collector"
COLLECTOR_HOST: "data-collector-service"
COLLECTOR_PORT: "8886"
COLLECTOR_QUEUE: "collector_queue"
COLLECTOR_ROUTING_KEY: "collector_key"
COLLECTOR_TEST_DB: "collector_test_db"
COLLECTOR_TEST_EXCHANGE: "collector_test_exchange"
GRAFANA_PORT: "3000"
POSTGRES_DB: "collector_db"
POSTGRES_HOST: "db-service"
POSTGRES_HOST: "db-service-service"
POSTGRES_PORT: "5432"
POSTGRES_USER: "newsanalyzer"
PROJECT_VERSION: "0.0.1"
PROMETHEUS_PORT: "9090"
RABBITMQ_HOST: "mq"
RABBITMQ_HOST: "mq-service"
RABBITMQ_METRICS_PORT: "15692"
RABBITMQ_PORT: "5672"
WEBSERVER_DB: "webserver_db"
WEBSERVER_HOST: "web-server"
WEBSERVER_HOST: "web-server-service"
WEBSERVER_PORT: "8888"
WEBSERVER_TEST_DB: "webserver_test_db"
2 changes: 1 addition & 1 deletion deployment/templates/grafana-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ data:
- name: Prometheus
type: prometheus
access: proxy # proxy (server in the UI) or direct (browser in the UI)
url: http://prometheus:9090
url: http://prometheus-service:9090
jsonData:
httpMethod: POST
manageAlerts: true
Expand Down

0 comments on commit 2c5a78e

Please sign in to comment.