dockerize image

This commit is contained in:
2019-03-06 18:43:52 -08:00
parent d7b8e82b5c
commit 092ee0218f
3 changed files with 41 additions and 0 deletions
Executable
+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh -ex
LOCALPORT=${LOCALPORT:-:9999}
SENTINEL=${SENTINEL:-:26739}
MASTERNAME=${MASTERNAME:-""}
exec /usr/local/bin/redis-sentinel-proxy -listen $LOCALPORT -sentinel $SENTINEL -master $MASTERNAME