Skip to content

Commit febe62b

Browse files
committed
feat(rel): add syntactic code intel worker service
1 parent 9568cc3 commit febe62b

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

docker-compose/docker-compose.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,32 @@ services:
388388
- sourcegraph
389389
restart: always
390390

391+
# Description: High level syntax analysis
392+
#
393+
# Disk: none
394+
# Ports exposed to other Sourcegraph services: 3188/TCP
395+
# Ports exposed to the public internet: none
396+
#
397+
syntactic-code-intel-worker:
398+
container_name: syntactic-code-intel-worker
399+
image: 'index.docker.io/sourcegraph/syntactic-code-intel-worker:6.1.1295@sha256:c6e2b097b8f16394e339588e208c43587f1fa6a35cb44e9759622c448ddc1445'
400+
cpus: 2
401+
mem_limit: '4g'
402+
environment:
403+
- 'SRC_FRONTEND_INTERNAL=sourcegraph-frontend-internal:3090'
404+
- 'PRECISE_CODE_INTEL_UPLOAD_BACKEND=blobstore'
405+
- 'PRECISE_CODE_INTEL_UPLOAD_AWS_ENDPOINT=http://blobstore:9000'
406+
- 'OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317'
407+
healthcheck:
408+
test: "wget -q 'http://127.0.0.1:3188/healthz' -O /dev/null || exit 1"
409+
interval: 5s
410+
timeout: 15s
411+
retries: 3
412+
start_period: 60s
413+
networks:
414+
- sourcegraph
415+
restart: always
416+
391417
# Description: Backend for syntax highlighting operations.
392418
#
393419
# Disk: none

0 commit comments

Comments
 (0)