Browse Source

redis setup

master
blobt 5 years ago
parent
commit
f08a4e5c5e
  1. 2
      redis/data/.gitignore
  2. 5
      redis/run.sh

2
redis/data/.gitignore

@ -0,0 +1,2 @@
*
!.gitignore

5
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
Loading…
Cancel
Save