File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change
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
+ # NOTE: Keep in sync with https://github.com/sourcegraph/deploy-sourcegraph-docker/blob/main/docker-compose/docker-compose.yaml#L372
11
+ #
12
+ docker run --detach \
13
+ --name=syntactic-code-intel-worker \
14
+ --network=sourcegraph \
15
+ --restart=always \
16
+ --cpus=2 \
17
+ --memory=4g \
18
+ -e ' SRC_FRONTEND_INTERNAL=sourcegraph-frontend-internal:3090' \
19
+ -e ' PRECISE_CODE_INTEL_UPLOAD_BACKEND=blobstore' \
20
+ -e ' PRECISE_CODE_INTEL_UPLOAD_AWS_ENDPOINT=http://blobstore:9000' \
21
+ -e ' OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317' \
22
+ -e ' SYNTACTIC_CODE_INTEL_WORKER_ADDR=:3288' \
23
+ index.docker.io/sourcegraph/syntactic-code-intel-worker:6.1.1295@sha256:c6e2b097b8f16394e339588e208c43587f1fa6a35cb44e9759622c448ddc1445
24
+
25
+ echo " Deployed syntactic-code-intel-worker service"
You can’t perform that action at this time.
0 commit comments