mirror of
https://github.com/RustyRaptor/deploy-sourcegraph-docker.git
synced 2026-12-04 00:05:19 -07:00
24 lines
730 B
Bash
Executable File
24 lines
730 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
# Description: Saved search query runner / notification service.
|
|
#
|
|
# Disk: 1GB / non-persistent SSD (only for read-only config file)
|
|
# Network: 100mbps
|
|
# Liveness probe: n/a
|
|
# Ports exposed to other Sourcegraph services: 3183/TCP 6060/TCP
|
|
# Ports exposed to the public internet: none
|
|
#
|
|
docker run --detach \
|
|
--name=query-runner \
|
|
--network=sourcegraph \
|
|
--restart=always \
|
|
--cpus=1 \
|
|
--memory=1g \
|
|
-e GOMAXPROCS=1 \
|
|
-e SRC_FRONTEND_INTERNAL=sourcegraph-frontend-internal:3090 \
|
|
-e JAEGER_AGENT_HOST=jaeger \
|
|
index.docker.io/sourcegraph/query-runner:3.21.1@sha256:4aa955edd6c26b99bf5972daa099875886a234f916363dec0987bd5d482a7e2b
|
|
|
|
echo "Deployed query-runner service"
|