diff --git a/redis/data/.gitignore b/redis/data/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/redis/data/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/redis/run.sh b/redis/run.sh new file mode 100755 index 0000000..52613da --- /dev/null +++ b/redis/run.sh @@ -0,0 +1,5 @@ +#!/bin/sh +docker ps +docker stop redis +docker rm redis +docker run -d --name redis -v $PWD/etc:/usr/local/etc/redis -v $PWD/data:/data -p 6379:6379 redis --requirepass "73937393" --appendonly yes