mirror of
https://github.com/RustyRaptor/deploy-sourcegraph-docker.git
synced 2026-12-04 08:15:24 -07:00
21 lines
731 B
Bash
Executable File
21 lines
731 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
source ./replicas.sh
|
|
|
|
# Description: Handles conversion of uploaded precise code intelligence bundles.
|
|
#
|
|
# Ports exposed to other Sourcegraph services: 3188/TCP
|
|
# Ports exposed to the public internet: none
|
|
#
|
|
docker run --detach \
|
|
--name=precise-code-intel-worker \
|
|
--network=sourcegraph \
|
|
--restart=always \
|
|
--cpus=2 \
|
|
--memory=4g \
|
|
-e 'PRECISE_CODE_INTEL_BUNDLE_MANAGER_URL=http://precise-code-intel-bundle-manager:3187' \
|
|
-e 'SRC_FRONTEND_INTERNAL=sourcegraph-frontend-internal:3090' \
|
|
index.docker.io/sourcegraph/precise-code-intel-worker:3.21.2@sha256:77973d2d7b07702c2d9e456098b71c430b6c08966b3b028409d68c7837e5a950
|
|
|
|
echo "Deployed precise-code-intel-worker service"
|