mirror of
https://github.com/RustyRaptor/deploy-sourcegraph-docker.git
synced 2026-12-04 00:05:19 -07:00
* all: replace minio with sourcegraph/blobstore * all: bump image tags for blobstore change * pure-docker: update image tags (manually) Signed-off-by: Stephen Gutekanst <stephen@sourcegraph.com>
24 lines
698 B
Bash
Executable File
24 lines
698 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
# Description: Redis for storing short-lived caches.
|
|
#
|
|
# Disk: 128GB / persistent SSD
|
|
# Network: 100mbps
|
|
# Liveness probe: 6379/TCP
|
|
# Ports exposed to other Sourcegraph services: 6379/TCP 9121/TCP
|
|
# Ports exposed to the public internet: none
|
|
#
|
|
VOLUME="$HOME/sourcegraph-docker/redis-cache-disk"
|
|
./ensure-volume.sh $VOLUME 999
|
|
docker run --detach \
|
|
--name=redis-cache \
|
|
--network=sourcegraph \
|
|
--restart=always \
|
|
--cpus=1 \
|
|
--memory=6g \
|
|
-v $VOLUME:/redis-data \
|
|
index.docker.io/sourcegraph/redis-cache:187572_2022-12-06_cbecc5321c7d@sha256:bb62b6d761513b1651e8499532570068a4509d5d0cf5131f0dd8b8e2ef74c72d
|
|
|
|
echo "Deployed redis-cache service"
|