mirror of
https://github.com/RustyRaptor/deploy-sourcegraph-docker.git
synced 2026-12-05 08:45:20 -07:00
24 lines
615 B
Bash
Executable File
24 lines
615 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
source ./replicas.sh
|
|
|
|
# Description: LSIF HTTP server for code intelligence.
|
|
#
|
|
# Disk: 200GB / persistent SSD
|
|
# Network: 100mbps
|
|
# Liveness probe: n/a
|
|
# Ports exposed to other Sourcegraph services: 3186/TCP 6060/TCP
|
|
# Ports exposed to the public internet: none
|
|
#
|
|
docker run --detach \
|
|
--name=lsif-server \
|
|
--network=sourcegraph \
|
|
--restart=always \
|
|
--cpus=2 \
|
|
--memory=2g \
|
|
-e GOMAXPROCS=2 \
|
|
-e LSIF_STORAGE_ROOT=/lsif-storage \
|
|
-v ~/sourcegraph-docker/lsif-server-disk:/lsif-storage \
|
|
sourcegraph/lsif-server:3.7.1
|
|
|
|
echo "Deployed lsif-server service" |