docker registry
This commit is contained in:
parent
55b97aae90
commit
c696984b05
2 changed files with 9 additions and 0 deletions
nixos
|
@ -13,6 +13,12 @@
|
||||||
./syncthing-relay.nix
|
./syncthing-relay.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
services.dockerRegistry = {
|
||||||
|
enable = true;
|
||||||
|
listenAddress = "vpsfree1.raptor-carp.ts.net";
|
||||||
|
enableGarbageCollect = true;
|
||||||
|
};
|
||||||
|
|
||||||
systemd.extraConfig = ''
|
systemd.extraConfig = ''
|
||||||
DefaultTimeoutStartSec=900s
|
DefaultTimeoutStartSec=900s
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -58,6 +58,9 @@
|
||||||
virtualisation.docker = {
|
virtualisation.docker = {
|
||||||
enable = true;
|
enable = true;
|
||||||
autoPrune.enable = true;
|
autoPrune.enable = true;
|
||||||
|
daemon.settings = {
|
||||||
|
"insecure-registries" = [ "vpsfree1.raptor-carp.ts.net:5000" ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
fonts.fontconfig = {
|
fonts.fontconfig = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue