mirror of
https://github.com/RustyRaptor/deploy-sourcegraph-docker.git
synced 2026-12-04 00:05:19 -07:00
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.
29 lines
949 B
Bash
Executable File
29 lines
949 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
source ./replicas.sh
|
|
|
|
# Description: Handles repository metadata (not Git data) lookups and updates from external code hosts and other similar services.
|
|
#
|
|
# Disk: 128GB / non-persistent SSD
|
|
# Network: 100mbps
|
|
# Liveness probe: n/a
|
|
# Ports exposed to other Sourcegraph services: 3182/TCP 6060/TCP
|
|
# Ports exposed to the public internet: none
|
|
#
|
|
VOLUME="$HOME/sourcegraph-docker/repo-updater-disk"
|
|
./ensure-volume.sh $VOLUME 100
|
|
docker run --detach \
|
|
--name=repo-updater \
|
|
--network=sourcegraph \
|
|
--restart=always \
|
|
--cpus=4 \
|
|
--memory=4g \
|
|
-e GOMAXPROCS=1 \
|
|
-e SRC_FRONTEND_INTERNAL=sourcegraph-frontend-internal:3090 \
|
|
-e JAEGER_AGENT_HOST=jaeger \
|
|
-e GITHUB_BASE_URL=http://github-proxy:3180 \
|
|
-v $VOLUME:/mnt/cache \
|
|
index.docker.io/sourcegraph/repo-updater:insiders@sha256:53f0fcd28885d379c1c9046028e45ae2b96be4a34a0011afacb133d76bc82bb6
|
|
|
|
echo "Deployed repo-updater service"
|