redis-docker-compose usage: ./db_init.sh after init , it will restart each time you boot docker, if you docker-compose down it, just docker-compose up -d again.