Open MatthieuBarthel opened 1 month ago
have you opened the port in networking.firewall.allowedTCPPorts
?
No because I use nginx as a proxy, but in the "steps to reproduce" I run the queries directly from the host:
$ curl -I http://localhost:4567
curl: (7) Failed to connect to localhost port 4567 after 0 ms: Couldn't connect to server
$ curl -I http://localhost:5000
HTTP/1.1 200 OK
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/gitlab-registry-and-certfile/54947/4
Describe the bug
By default the gitlab registry port is set to 4567 in services.gitlab.registry.port, but in my tests the registry always uses port 5000, whatever is configured.
Steps To Reproduce
Enable the registry with any port, except 5000:
Verify:
Expected behavior
Should use the port configured :)
Notify maintainers
@globin @krav @talyz @yayayayaka
Thanks again <3
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.