Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Pipeline service, redis custom config file

hemendra chaudhary
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 23, 2020

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"

 

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 9, 2020

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events