forked from mirrors/nixpkgs
nixos/docker-registry: allow running on ports < 1024
This commit is contained in:
parent
5f1ad29340
commit
c4fd2b7318
|
@ -120,6 +120,7 @@ in {
|
|||
serviceConfig = {
|
||||
User = "docker-registry";
|
||||
WorkingDirectory = cfg.storagePath;
|
||||
AmbientCapabilities = mkIf (cfg.port < 1024) "cap_net_bind_service";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue