Files
deploy-sourcegraph-docker/deploy-github-proxy.sh
T
Stephen Gutekanst 675d8d94da update to Sourcegraph 3.2.1
See for [the CHANGELOG](https://github.com/sourcegraph/sourcegraph/blob/master/CHANGELOG.md#321) for details.

This features a small fix needed to use Jaeger tracing in this deployment type.
2019-04-08 22:15:50 -07:00

22 lines
606 B
Bash
Executable File

#!/usr/bin/env bash
set -e
# Description: Rate-limiting proxy for the GitHub API.
#
# CPU: 1
# Memory: 1GB
# Disk: 1GB / non-persistent SSD (only for read-only config file)
# Network: 100mbps
# Liveness probe: n/a
# Ports exposed to other Sourcegraph services: 3180/TCP 6060/TCP
# Ports exposed to the public internet: none
#
docker run --detach \
--name=github-proxy \
--network=sourcegraph \
--restart=always \
-e SRC_FRONTEND_INTERNAL=sourcegraph-frontend-internal:3090 \
-e JAEGER_AGENT_HOST='jaeger-agent' \
sourcegraph/github-proxy:3.2.1
echo "Deployed github-proxy service"