mirror of
https://github.com/RustyRaptor/deploy-sourcegraph-docker.git
synced 2026-12-04 00:05:19 -07:00
pure-docker: move pure-docker to ./pure-docker (#454)
This change will require additional actions for users using the pure-docker deployment option upgrading past 3.30.x - Please refer to https://docs.sourcegraph.com/admin/updates/pure_docker for more details.
This commit is contained in:
1 parent
a7f22c6871
commit
76ea424bd2
36 files changed
+120
-84
No files matched your search
Executable
+26
@@ -0,0 +1,26 @@
|
||||
#!/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:insiders@sha256:8e6c84ba2fb7c1cb03bba5ad0e15d3a655f9e13742e0ffa769391a271f02c562
|
||||
|
||||
echo "Deployed github-proxy service"
|
||||
Reference in new issue
Block a user