Skip to content

Instantly share code, notes, and snippets.

@xynova
Created August 8, 2017 07:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xynova/65c7b29ac10979c3d168a85702e35a9b to your computer and use it in GitHub Desktop.
Save xynova/65c7b29ac10979c3d168a85702e35a9b to your computer and use it in GitHub Desktop.
Setting a redis key through the nginx-confd container
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 covfefe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment