Skip to content
Permalink
Browse files

fix(pipeline): ERR Client sent AUTH, but no password is set

  • Loading branch information...
duanhongyi
duanhongyi committed Jan 26, 2019
1 parent d0b5788 commit e5dc063cde33932d38931458a59b9438b11d42c7
Showing with 3 additions and 1 deletion.
  1. +2 −0 rootfs/Dockerfile
  2. +1 −1 rootfs/bin/boot
@@ -2,6 +2,8 @@ FROM redis:5-alpine

COPY . /

RUN chown -R redis:redis /etc/redis

USER redis

CMD ["/bin/boot"]
@@ -9,7 +9,7 @@ REDIS_PASSWORD_FILE=/var/run/secrets/deis/redis/creds/password
if [ -e $REDIS_PASSWORD_FILE ]; then
REDIS_PASSWORD="$(cat /var/run/secrets/deis/redis/creds/password)"
if [ ! -z "$REDIS_PASSWORD" ]; then
echo "requirepass $REDIS_PASSWORD" >> REDIS_CONFIG_FILE
echo "requirepass $REDIS_PASSWORD" >> $REDIS_CONFIG_FILE
fi
fi

0 comments on commit e5dc063

Please sign in to comment.
You can’t perform that action at this time.