How do I run a simple Redis datastore in the pipeline with a custom config file?
I want to test the keyspace notification in my test cases.
version: "3"
services:
redis:
image: redis
command: redis-server /usr/local/etc/redis/redis.conf
volumes:
- ./redis.conf:/usr/local/etc/redis/redis.conf
set config set notify-keyspace-events "EKx"
Hi @hemendra chaudhary ,
You can build a custom redis image with your own config file, and then use this custom image in the Bitbucket Pipelines service definition, instead of using the official one.
You can check:
the section "Additionally, If you want to use your own redis.conf ..."
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.