Files
deploy-sourcegraph-docker/deploy-redis-cache.sh
T
Stephen Gutekanst 6c67b5bfa7 Release Sourcegraph v3.11.4
Note: If you make use of `CRITICAL_CONFIG_FILE` or `SITE_CONFIG_FILE`, please refer to the [migration notes for Sourcegraph 3.11+](https://docs.sourcegraph.com/admin/migration/3_11).
2020-01-14 18:54:35 -07:00

21 lines
632 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
#
docker run --detach \
--name=redis-cache \
--network=sourcegraph \
--restart=always \
--cpus=1 \
--memory=6g \
-v ~/sourcegraph-docker/redis-cache-disk:/redis-data \
index.docker.io/sourcegraph/redis-cache:19-04-16_6891de82@sha256:4cbfac8af0abb673899250d4fd859cc477d6426de519e9deb71e454e18322499
echo "Deployed redis-cache service"