mirror of
https://github.com/RustyRaptor/deploy-sourcegraph-docker.git
synced 2026-12-04 00:05:19 -07:00
22 lines
610 B
Bash
Executable File
22 lines
610 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
# Description: Backend for text search operations.
|
|
#
|
|
# CPU: 2
|
|
# Memory: 2GB
|
|
# Disk: 128GB / non-persistent SSD
|
|
# Network: 100mbps
|
|
# Liveness probe: HTTP GET http://searcher:3181/healthz
|
|
# Ports exposed to other Sourcegraph services: 3181/TCP
|
|
# Ports exposed to the public internet: none
|
|
#
|
|
docker run --detach \
|
|
--name=searcher-0 \
|
|
--network=sourcegraph \
|
|
--restart=always \
|
|
-e SRC_FRONTEND_INTERNAL=sourcegraph-frontend-internal:3090 \
|
|
-v ~/sourcegraph-docker/searcher-0-disk:/mnt/cache \
|
|
sourcegraph/searcher:3.0.0-alpha.11
|
|
|
|
echo "Deployed searcher service" |