nixos/gitlab: Make sure docker-registry starts after cert generation
This commit is contained in:
parent
8e8253ddb4
commit
58158100f7
|
@ -1102,6 +1102,7 @@ in {
|
||||||
# Ensure Docker Registry launches after the certificate generation job
|
# Ensure Docker Registry launches after the certificate generation job
|
||||||
systemd.services.docker-registry = optionalAttrs cfg.registry.enable {
|
systemd.services.docker-registry = optionalAttrs cfg.registry.enable {
|
||||||
wants = [ "gitlab-registry-cert.service" ];
|
wants = [ "gitlab-registry-cert.service" ];
|
||||||
|
after = [ "gitlab-registry-cert.service" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enable Docker Registry, if GitLab-Container Registry is enabled
|
# Enable Docker Registry, if GitLab-Container Registry is enabled
|
||||||
|
|
Loading…
Reference in a new issue