Skip to content

Commit 99585ab

Browse files
committed
add pure docker deploy script for syntactic-code-intel-worker
1 parent 782c470 commit 99585ab

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/usr/bin/env bash
2+
set -e
3+
source ./replicas.sh
4+
5+
# Description: High level syntax analysis
6+
#
7+
# Ports exposed to other Sourcegraph services: 3288/TCP
8+
# Ports exposed to the public internet: none
9+
#
10+
docker run --detach \
11+
--name=syntactic-code-intel-worker \
12+
--network=sourcegraph \
13+
--restart=always \
14+
--cpus=2 \
15+
--memory=4g \
16+
-e SRC_FRONTEND_INTERNAL=sourcegraph-frontend-internal:3090 \
17+
-e PRECISE_CODE_INTEL_UPLOAD_BACKEND=blobstore \
18+
-e PRECISE_CODE_INTEL_UPLOAD_AWS_ENDPOINT=http://blobstore:9000 \
19+
-e 'OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317' \
20+
-e 'SYNTACTIC_CODE_INTEL_WORKER_ADDR=:3288' \
21+
index.docker.io/sourcegraph/syntactic-code-intel-worker:6.1.1295@sha256:c6e2b097b8f16394e339588e208c43587f1fa6a35cb44e9759622c448ddc1445
22+
23+
echo "Deployed syntactic-code-intel-worker service"

0 commit comments

Comments
 (0)