mirror of
https://github.com/casjaysdevdocker/redis
synced 2025-01-18 00:34:26 -05:00
casjay
21de7deea5
🗃️ Fixed: rootfs/usr/local/etc/docker/functions/entrypoint.sh 🗃️
Dockerfile rootfs/usr/local/etc/docker/functions/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/rootfs"
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/rootfs/"
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/rootfs/data:/data:z" \
-v "$HOME/.local/share/srv/docker/casjaysdevdocker-redis/rootfs/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/rootfs/data:/data:z"
- "$HOME/.local/share/srv/docker/casjaysdevdocker-redis/rootfs/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
77%
Dockerfile
23%