mirror of
https://github.com/RustyRaptor/deploy-sourcegraph-docker.git
synced 2026-12-04 00:05:19 -07:00
22 lines
589 B
Bash
Executable File
22 lines
589 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
# Description: Stores clones of repositories to perform Git operations.
|
|
#
|
|
# CPU: 4
|
|
# Memory: 8GB
|
|
# Disk: 200GB / persistent SSD
|
|
# Network: 100mbps
|
|
# Liveness probe: n/a
|
|
# Ports exposed to other Sourcegraph services: 3182/TCP
|
|
# Ports exposed to the public internet: none
|
|
#
|
|
docker run --detach \
|
|
--name=gitserver-0 \
|
|
--network=sourcegraph \
|
|
--restart=always \
|
|
-e SRC_FRONTEND_INTERNAL=sourcegraph-frontend-internal:3090 \
|
|
-v ~/sourcegraph-docker/gitserver-0-disk:/data/repos \
|
|
sourcegraph/gitserver:3.0.1
|
|
|
|
echo "Deployed gitserver service" |