Skip to content

casjaysdevdocker/valkey

Repository files navigation

👋 Welcome to valkey 🚀

valkey 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 valkey

Install and run container

mkdir -p "$HOME/.local/share/srv/docker/valkey/rootfs"
git clone "https://github.com/dockermgr/valkey" "$HOME/.local/share/CasjaysDev/dockermgr/valkey"
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/valkey/rootfs/." "$HOME/.local/share/srv/docker/valkey/rootfs/"
docker run -d \
--restart always \
--privileged \
--name casjaysdevdocker-valkey \
--hostname valkey \
-e TZ=${TIMEZONE:-America/New_York} \
-v "$HOME/.local/share/srv/docker/casjaysdevdocker-valkey/rootfs/data:/data:z" \
-v "$HOME/.local/share/srv/docker/casjaysdevdocker-valkey/rootfs/config:/config:z" \
-p 80:80 \
casjaysdevdocker/valkey:latest

via docker-compose

version: "2"
services:
  ProjectName:
    image: casjaysdevdocker/valkey
    container_name: casjaysdevdocker-valkey
    environment:
      - TZ=America/New_York
      - HOSTNAME=valkey
    volumes:
      - "$HOME/.local/share/srv/docker/casjaysdevdocker-valkey/rootfs/data:/data:z"
      - "$HOME/.local/share/srv/docker/casjaysdevdocker-valkey/rootfs/config:/config:z"
    ports:
      - 80:80
    restart: always

Get source files

dockermgr download src casjaysdevdocker/valkey

OR

git clone "https://github.com/casjaysdevdocker/valkey" "$HOME/Projects/github/casjaysdevdocker/valkey"

Build container

cd "$HOME/Projects/github/casjaysdevdocker/valkey"
buildx 

Authors

🤖 casjay: Github 🤖
⛵ casjaysdevdocker: Github Docker