Files
deploy-sourcegraph-docker/deploy-github-proxy.sh
T
Stephen Gutekanst 6c67b5bfa7 Release Sourcegraph v3.11.4
Note: If you make use of `CRITICAL_CONFIG_FILE` or `SITE_CONFIG_FILE`, please refer to the [migration notes for Sourcegraph 3.11+](https://docs.sourcegraph.com/admin/migration/3_11).
2020-01-14 18:54:35 -07:00

26 lines
771 B
Bash
Executable File

#!/usr/bin/env bash
set -e
source ./replicas.sh
# 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 \
--cpus=1 \
--memory=1g \
-e GOMAXPROCS=1 \
-e SRC_FRONTEND_INTERNAL=sourcegraph-frontend-internal:3090 \
-e JAEGER_AGENT_HOST='jaeger-agent' \
index.docker.io/sourcegraph/github-proxy:3.11.4@sha256:61e88beee0ec61943dac13710d00fe7a387c484207ad42e618ad6a4da926d012
echo "Deployed github-proxy service"