Use io.containers.autoupdate=registry to auto update podman containers
This commit is contained in:
parent
9513f94df6
commit
897a0b389a
6 changed files with 5 additions and 14 deletions
|
|
@ -4,5 +4,6 @@
|
|||
virtualisation.podman = {
|
||||
enable = true;
|
||||
dockerCompat = true;
|
||||
autoPrune = true;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
image = "jlongster/actual-server:latest";
|
||||
ports = [ "${config.ports.actual}:5006" ];
|
||||
volumes = [ "/data/actual:/data" ];
|
||||
extraOptions = [ "--pull=always" ];
|
||||
extraOptions = [ "--label=io.containers.autoupdate=registry" ];
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."actual.baduhai.me" = {
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
ports = [ "${config.ports.cinny}:80" ];
|
||||
environment = { TZ = "America/Bahia"; };
|
||||
volumes = [ "/data/matrix/cinny-config.json:/app/config.json" ];
|
||||
extraOptions = [ "--pull=always" ];
|
||||
extraOptions = [ "--label=io.containers.autoupdate=registry" ];
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."cinny.baduhai.me" = {
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
image = "lscr.io/linuxserver/librespeed:latest";
|
||||
environment = { TZ = "America/Bahia"; };
|
||||
ports = [ "${config.ports.librespeed}:80" ];
|
||||
extraOptions = [ "--pull=always" ];
|
||||
extraOptions = [ "--label=io.containers.autoupdate=registry" ];
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."librespeed.baduhai.me" = {
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
virtualisation.oci-containers.containers."pairdrop" = {
|
||||
image = "lscr.io/linuxserver/pairdrop:latest";
|
||||
ports = [ "${config.ports.pairdrop}:3000" ];
|
||||
extraOptions = [ "--pull=always" ];
|
||||
extraOptions = [ "--label=io.containers.autoupdate=registry" ];
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."pairdrop.baduhai.me" = {
|
||||
|
|
|
|||
|
|
@ -1,10 +0,0 @@
|
|||
{ inputs, config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
services.nginx.virtualHosts."search.baduhai.me" = {
|
||||
useACMEHost = "baduhai.me";
|
||||
forceSSL = true;
|
||||
kTLS = true;
|
||||
locations."/".proxyPass = "http://127.0.0.1:${config.ports.searx}";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue