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.18.0@sha256:ef7654e839f5257661aba758ddf671383c40260e49d1675f13c456272b8ccd49
|
|
|
|
echo "Deployed precise-code-intel-worker service"
|