mirror of
https://github.com/RustyRaptor/deploy-sourcegraph-docker.git
synced 2026-12-03 15:55:17 -07:00
* add Vagrant-based smoke tests for pure Docker deployments Co-authored-by: Stephen Gutekanst <stephen.gutekanst@gmail.com> Co-authored-by: Gonzalo Peci <pecigonzalo@users.noreply.github.com>
24 lines
822 B
Bash
Executable File
24 lines
822 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
source ./replicas.sh
|
|
|
|
# Description: Stores and manages precise code intelligence bundles.
|
|
#
|
|
# Disk: 200GB / persistent SSD
|
|
# Ports exposed to other Sourcegraph services: 3187/TCP
|
|
# Ports exposed to the public internet: none
|
|
#
|
|
VOLUME="$HOME/sourcegraph-docker/lsif-server-disk"
|
|
./ensure-volume.sh $VOLUME 100
|
|
docker run --detach \
|
|
--name=precise-code-intel-bundle-manager \
|
|
--network=sourcegraph \
|
|
--restart=always \
|
|
--cpus=2 \
|
|
--memory=2g \
|
|
-e 'SRC_FRONTEND_INTERNAL=sourcegraph-frontend-internal:3090' \
|
|
-v ~/sourcegraph-docker/lsif-server-disk:/lsif-storage \
|
|
index.docker.io/sourcegraph/precise-code-intel-bundle-manager:3.19.2@sha256:104b10b85cd508e31cc71271a7a5153d7248d2ef28a8f08756875d863492e363
|
|
|
|
echo "Deployed precise-code-intel-bundle-manager service"
|