Skip to content

Instantly share code, notes, and snippets.

@AlkindiX
Last active June 1, 2023 07:09
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 AlkindiX/95ebceea8e41a3b5405d268ab37c614a to your computer and use it in GitHub Desktop.
Save AlkindiX/95ebceea8e41a3b5405d268ab37c614a to your computer and use it in GitHub Desktop.
Redis stack docker image and their github repo does not provide any documentation on how to add plugins(modules). After hours on how to do it. Here it is
service:
redis:
container_name: redis
image: redis/redis-stack-server:6.2.6-v4
restart: always
ports:
- '6379:6379'
command: >
redis-server
--save 60 1
--loglevel
warning
--protected-mode no
--loadmodule /opt/redis-stack/lib/redisearch.so
--loadmodule /opt/redis-stack/lib/redisgraph.so
--loadmodule /opt/redis-stack/lib/rejson.so
--loadmodule /opt/redis-stack/lib/redistimeseries.so
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment