mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
see sameersbn/docker-gitlab#2828 The current setup also accepts multiple hosts, but the syntax is a bit strange. The leading/trailing double quotes are embedded in the configuration file itself, so users should expect double quotes around the string they set. In other words, when setting two hosts 0.0.0.0 and 1.1.1.1, you will set the strings 0.0.0.0","1.1.1.1 in the environment variables. This is not intuitive. This commit removes double quote around corresponding config and set backward compatibility fallback process to surround whole with [], each host with double quote. Also, validation script (written in ruby) will be executed during configuration. Example docker-compose.yml ````yaml services: gitlab: image: sameersbn/gitlab:latest environment: - RACK_ATTACK_WHITELIST='["127.0.0.1","0.0.0.0"]' ```` Co-authored-by: Mikhail Khadarenka <chodorenko@mail.ru>