backup_keep_time isn't working when using docker environment variable
I'm trying to setup a backup solution for our self hosted gitlab-ce instance. We're currently running the newest gitlab version from the official docker repository (10.6.4 Commit: dee2c872)
To create the backup I'm using the built-in backup command as shown in the doc, which works fine.
docker exec -it gitlab gitlab-rake gitlab:backup:create
Now I want to delete backups that are older then a specific time, so I set the following option in /etc/gitlab/gitlab.rb (for testing purposes I've set it to 3600s):
gitlab_rails['backup_keep_time'] = 3600
That is also working just fine.
However if I try to set this option using the omnibus environment variable using a compose file it won't work:
environment:
GITLAB_OMNIBUS_CONFIG: |
external_url 'https://domain.tld'
gitlab_rails['gitlab_shell_ssh_port'] = 2222
gitlab_rails['backup_keep_time'] = 3600
Then the gitlab-rake command only shows Deleting old backups ... skipping
, so the option wasn't applied, but the option gitlab_shell_ssh_port and external_url are working correctly.
I've already stopped and recreated the container completly which hasn't changed anything on that behaviour. I also tried a gitlab-ctl reconfigure which also changed nothing.
Is this a configuration problem or is this a bug?
If you need further information let me know. Thanks in advance.