mirror of
https://github.com/casjaysdevdocker/redis
synced 2026-06-23 20:01:00 -04:00
c5f27332fe360e54cf46ce66d3cf17de82e734a3
Update the embedded entrypoint copies in rootfs/ to match the upstream template change. Internal state files renamed to dotfiles so they're not matched by `/run/*.pid` cleanup globs: - /run/init.d/entrypoint.pid -> /run/.entrypoint.pid - /run/no_exit.pid -> /run/.no_exit.pid - /run/backup.pid -> /run/.backup.pid - /run/__start_init_scripts.pid -> /run/.start_init_scripts.pid Per-service PIDs in /run/init.d/ are unchanged. rootfs/usr/local/bin/entrypoint.sh rootfs/usr/local/etc/docker/functions/entrypoint.sh rootfs/usr/local/share/template-files/config/env/default.sample rootfs/usr/local/share/template-files/config/env/examples/zz-entrypoint.sh
👋 Welcome to redis 🚀
redis README
Install my system scripts
sudo bash -c "$(curl -q -LSsf "https://github.com/systemmgr/installer/raw/main/install.sh")"
sudo systemmgr --config && sudo systemmgr install scripts
Automatic install/update
dockermgr update redis
Install and run container
mkdir -p "$HOME/.local/share/srv/docker/redis/volumes"
git clone "https://github.com/dockermgr/redis" "$HOME/.local/share/CasjaysDev/dockermgr/redis"
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/redis/rootfs/." "$HOME/.local/share/srv/docker/redis/volumes/"
docker run -d \
--restart always \
--privileged \
--name casjaysdevdocker-redis \
--hostname redis \
-e TZ=${TIMEZONE:-America/New_York} \
-v "$HOME/.local/share/srv/docker/casjaysdevdocker-redis/volumes/data:/data:z" \
-v "$HOME/.local/share/srv/docker/casjaysdevdocker-redis/volumes/config:/config:z" \
-p 80:80 \
casjaysdevdocker/redis:latest
via docker-compose
version: "2"
services:
ProjectName:
image: casjaysdevdocker/redis
container_name: casjaysdevdocker-redis
environment:
- TZ=America/New_York
- HOSTNAME=redis
volumes:
- "$HOME/.local/share/srv/docker/casjaysdevdocker-redis/volumes/data:/data:z"
- "$HOME/.local/share/srv/docker/casjaysdevdocker-redis/volumes/config:/config:z"
ports:
- 80:80
restart: always
Get source files
dockermgr download src casjaysdevdocker/redis
OR
git clone "https://github.com/casjaysdevdocker/redis" "$HOME/Projects/github/casjaysdevdocker/redis"
Build container
cd "$HOME/Projects/github/casjaysdevdocker/redis"
buildx
Authors
Description
Languages
Shell
90.7%
Dockerfile
9.3%