Files
deploy-sourcegraph-docker/deploy-github-proxy.sh
T
Eric FritzandStephen Gutekanst 00cdc916a8 Rename lsif-server to precise-code-intel (#93)
* Squash commits.

* Update image tags.

* Fix variables after test run.

* Revert unrealted change during testing.

* Fix bad revert.

* Update docker-compose.yaml

* Update deploy-precise-code-intel-worker.sh

* Update docker-compose.yaml

* Update deploy-precise-code-intel-worker.sh

* Quote for consistency.

* Fix insiders tags.

* Remove LSIF_STORAGE envvar.

* Back out some prometheus changes.

Co-authored-by: Stephen Gutekanst <stephen.gutekanst@gmail.com>
2020-04-30 08:49:18 -07:00

27 lines
710 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 \
index.docker.io/sourcegraph/github-proxy:59913_2020-04-02_5ae630c
echo "Deployed github-proxy service"