Skip to content

Commit 674f3e5

Browse files
authored
Add GITHUB_BASE_URL to gitserver deployments (#853)
1 parent 66fac66 commit 674f3e5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

docker-compose/docker-compose.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ services:
218218
environment:
219219
- 'SRC_FRONTEND_INTERNAL=sourcegraph-frontend-internal:3090'
220220
- 'OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317'
221+
- 'GITHUB_BASE_URL=http://github-proxy:3180'
221222
volumes:
222223
- 'gitserver-0:/data/repos'
223224
networks:

pure-docker/deploy-gitserver.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ docker run --detach \
2222
-e GOMAXPROCS=4 \
2323
-e SRC_FRONTEND_INTERNAL=sourcegraph-frontend-internal:3090 \
2424
-e 'OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317' \
25+
-e 'GITHUB_BASE_URL=http://github-proxy:3180' \
2526
-v $VOLUME:/data/repos \
2627
index.docker.io/sourcegraph/gitserver:3.43.0@sha256:b3192b3fdc59fccc80c9d3e6bb2be38c0ca1474281fce09e89f664d07aa8f2ae
2728

0 commit comments

Comments
 (0)