Yunohost-package for Gitlab

Link to Github-issue for configuring Docker container registry in YunoHost Gitlab-package

Status

14-10-2025

Made it work! I got stuck initially with a 502 warning page after following these configuration instructions:

# /etc/gitlab/gitlab-persistent.rb
registry_external_url 'https://git.example.com:5050'
registry_nginx['ssl_certificate'] = "/etc/ssl/private/yunohost_crt.pem"
registry_nginx['ssl_certificate_key'] = "/etc/ssl/private/yunohost_key.pem"

# Then
sudo gitlab-ctl reconfigure

Turns out I had to check the paths of the .pem-files, which have changed in the meanwhile to:

registry_nginx['ssl_certificate'] = "/etc/ssl/certs/yunohost_crt.pem"
registry_nginx['ssl_certificate_key'] = "/etc/ssl/private/yunohost_key.pem"