provides a native redis server in front of redis+sentinel
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

8 lines
204 B

  1. #!/bin/sh -ex
  2. LOCALPORT=${LOCALPORT:-:9999}
  3. SENTINEL=${SENTINEL:-:26739}
  4. MASTERNAME=${MASTERNAME:-""}
  5. exec /usr/local/bin/redis-sentinel-proxy -listen $LOCALPORT -sentinel $SENTINEL -master $MASTERNAME