Add GITHUB_BASE_URL to gitserver deployments (#853)

This commit is contained in:
Petri-Johan Last authored and GitHub committed 2022-09-07 14:51:22 +02:00
1 parent 66fac668a6
commit 674f3e590f
2 files changed
+2

No files matched your search

+1
View File
@@ -218,6 +218,7 @@ services:
environment:
- 'SRC_FRONTEND_INTERNAL=sourcegraph-frontend-internal:3090'
- 'OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317'
- 'GITHUB_BASE_URL=http://github-proxy:3180'
volumes:
- 'gitserver-0:/data/repos'
networks:
+1
View File
@@ -22,6 +22,7 @@ docker run --detach \
-e GOMAXPROCS=4 \
-e SRC_FRONTEND_INTERNAL=sourcegraph-frontend-internal:3090 \
-e 'OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317' \
-e 'GITHUB_BASE_URL=http://github-proxy:3180' \
-v $VOLUME:/data/repos \
index.docker.io/sourcegraph/gitserver:3.43.0@sha256:b3192b3fdc59fccc80c9d3e6bb2be38c0ca1474281fce09e89f664d07aa8f2ae