Files
deploy-sourcegraph-docker/pure-docker/deploy-precise-code-intel-worker.sh
T
Stephen Gutekanst b5f8cb92a8 all: replace minio with sourcegraph/blobstore (#883)
* all: replace minio with sourcegraph/blobstore
* all: bump image tags for blobstore change
* pure-docker: update image tags (manually)

Signed-off-by: Stephen Gutekanst <stephen@sourcegraph.com>
2022-12-06 13:57:39 -07:00

23 lines
847 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 SRC_FRONTEND_INTERNAL=sourcegraph-frontend-internal:3090 \
-e 'OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317' \
-e PRECISE_CODE_INTEL_UPLOAD_BACKEND=blobstore \
-e PRECISE_CODE_INTEL_UPLOAD_AWS_ENDPOINT=http://blobstore:9000 \
index.docker.io/sourcegraph/precise-code-intel-worker:187572_2022-12-06_cbecc5321c7d@sha256:d1b1546d784fec8c90928a40e1b7eafc33202a53e4fcd501001d3f4a73e5c8ce
echo "Deployed precise-code-intel-worker service"