Skip to content

Commit f0aa877

Browse files
committed
feat(rel): add syntactic code intel worker service
1 parent 8b8d238 commit f0aa877

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

docker-compose/docker-compose.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,31 @@ 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.0.0@sha256:50bdeb38b196f0fc21404969016bf8263f78144292e905867e93480f66c8251c'
400+
cpus: 2
401+
mem_limit: '4g'
402+
environment:
403+
- 'SYNTACTIC_CODE_INTEL_UPLOAD_BACKEND=blobstore'
404+
- 'SYNTACTIC_CODE_INTEL_UPLOAD_AWS_ENDPOINT=http://blobstore:9000'
405+
- 'SYNTACTIC_CODE_INTEL_UPLOAD_WORKER_ADDR=3188'
406+
healthcheck:
407+
test: "wget -q 'http://127.0.0.1:3188/healthz' -O /dev/null || exit 1"
408+
interval: 5s
409+
timeout: 5s
410+
retries: 3
411+
start_period: 60s
412+
networks:
413+
- sourcegraph
414+
restart: always
415+
391416
# Description: Backend for syntax highlighting operations.
392417
#
393418
# Disk: none

0 commit comments

Comments
 (0)