Skip to content

Support redis and sentinel announce ip/port options

This merge request addresses an issue that shows up when running GitLab in a Docker environment (using the default GitLab images based on Omnibus-GitLab), and applying a HA schema for Redis/Sentinel.
Due to the ip/port remapping done by Docker, Redis/Sentinel announce-ip and announce-port configuration options are needed in this setup to allow the Redis master discover the slaves and Sentinels to talk to each other. Technical details can be found here for Redis and here for Sentinel.
This merge request adds the needed configuration options to the omnibus package to allow the user include those options when needed.
HA documentation has to be updated with this changes when the MR gets merged: https://docs.gitlab.com/ce/administration/high_availability/redis.html
Closes #1842

Edited by username-removed-26174

Merge request reports