Skip to content

Instantly share code, notes, and snippets.

@xynova
Created August 10, 2017 03:03
Show Gist options
  • Save xynova/ad18ca83cd4169aec2e5206d8f6c5ecb to your computer and use it in GitHub Desktop.
Save xynova/ad18ca83cd4169aec2e5206d8f6c5ecb to your computer and use it in GitHub Desktop.
Setting a redis key through the nginx-confd container Raw
docker run --rm -ti --name rediscli \
--net container:nginx \
redis:alpine \
redis-cli -h localhost -p 6379 -a THE-XXXX-PASSWORD set /myapp/suggestions/drink coffee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment