The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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

DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events