mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-18 01:54:34 +00:00
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 New Issue
Block a user