add prometheus server URL (#108)

This commit is contained in:
Robert Lin authored and GitHub committed 2020-05-18 17:03:15 -07:00
1 parent 329e38ed5b
commit 79c5a218c3
3 files changed
+4

No files matched your search

+1
View File
@@ -31,6 +31,7 @@ docker run --detach \
-e PRECISE_CODE_INTEL_API_SERVER_URL=http://precise-code-intel-api-server:3186 \
-e GRAFANA_SERVER_URL=http://grafana:3000 \
-e GITHUB_BASE_URL=http://github-proxy:3180 \
-e PROMETHEUS_URL=http://prometheus:9090 \
-v $VOLUME:/mnt/cache \
index.docker.io/sourcegraph/frontend:3.15.1@sha256:d6a2253ef0f1b40acb5a6dab7ea785302214c47ae27c4738ad1f9d67f8453ff8
+1
View File
@@ -32,6 +32,7 @@ docker run --detach \
-e PRECISE_CODE_INTEL_API_SERVER_URL=http://precise-code-intel-api-server:3186 \
-e GRAFANA_SERVER_URL=http://grafana:3370 \
-e GITHUB_BASE_URL=http://github-proxy:3180 \
-e PROMETHEUS_URL=http://prometheus:9090 \
-v $VOLUME:/mnt/cache \
-p 0.0.0.0:$((3080 + $1)):3080 \
index.docker.io/sourcegraph/frontend:3.15.1@sha256:d6a2253ef0f1b40acb5a6dab7ea785302214c47ae27c4738ad1f9d67f8453ff8
+2
View File
@@ -87,6 +87,7 @@ services:
- 'PRECISE_CODE_INTEL_API_SERVER_URL=http://precise-code-intel-api-server:3186'
- 'GRAFANA_SERVER_URL=http://grafana:3370'
- 'GITHUB_BASE_URL=http://github-proxy:3180'
- 'PROMETHEUS_URL=http://prometheus:9090'
healthcheck:
test: "wget -q 'http://127.0.0.1:3080/healthz' -O /dev/null || exit 1"
interval: 5s
@@ -124,6 +125,7 @@ services:
- 'PRECISE_CODE_INTEL_API_SERVER_URL=http://precise-code-intel:3186'
- 'GRAFANA_SERVER_URL=http://grafana:3000'
- 'GITHUB_BASE_URL=http://github-proxy:3180'
- 'PROMETHEUS_URL=http://prometheus:9090'
volumes:
- 'sourcegraph-frontend-internal-0:/mnt/cache'
networks: