nixos/gitlab: Make sure docker-registry starts after cert generation

This commit is contained in:
talyz 2022-10-04 14:57:43 +02:00 committed by Yureka
parent 8e8253ddb4
commit 58158100f7

View file

@ -1102,6 +1102,7 @@ in {
# Ensure Docker Registry launches after the certificate generation job
systemd.services.docker-registry = optionalAttrs cfg.registry.enable {
wants = [ "gitlab-registry-cert.service" ];
after = [ "gitlab-registry-cert.service" ];
};
# Enable Docker Registry, if GitLab-Container Registry is enabled