Services/Nginx: Update to v2.12.6
This commit is contained in:
@ -3,41 +3,45 @@
|
|||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: let
|
||||||
virtualisation.oci-containers.containers.nginx-proxy-manager = {
|
nginxVersion = "2.12.6";
|
||||||
image = "jc21/nginx-proxy-manager:latest";
|
in {
|
||||||
autoStart = true;
|
virtualisation.oci-containers.containers = {
|
||||||
|
nginx-proxy-manager = {
|
||||||
|
image = "jc21/nginx-proxy-manager:${nginxVersion}";
|
||||||
|
autoStart = true;
|
||||||
|
|
||||||
login = {
|
login = {
|
||||||
# Uses DockerHub by default
|
# Uses DockerHub by default
|
||||||
# registry = "";
|
# registry = "";
|
||||||
|
|
||||||
# DockerHub Credentials
|
# DockerHub Credentials
|
||||||
username = "christoph.urlacher@protonmail.com";
|
username = "christoph.urlacher@protonmail.com";
|
||||||
passwordFile = "${config.sops.secrets.docker-password.path}";
|
passwordFile = "${config.sops.secrets.docker-password.path}";
|
||||||
|
};
|
||||||
|
|
||||||
|
dependsOn = [];
|
||||||
|
|
||||||
|
ports = [
|
||||||
|
"80:80"
|
||||||
|
# "81:81" # Web interface
|
||||||
|
"443:443"
|
||||||
|
];
|
||||||
|
|
||||||
|
volumes = [
|
||||||
|
"nginx_config:/data"
|
||||||
|
"nginx_snippets:/snippets"
|
||||||
|
"nginx_letsencrypt:/etc/letsencrypt"
|
||||||
|
];
|
||||||
|
|
||||||
|
environment = {
|
||||||
|
DISABLE_IPV6 = "true";
|
||||||
|
};
|
||||||
|
|
||||||
|
extraOptions = [
|
||||||
|
# "--net=host"
|
||||||
|
"--net=behind-nginx"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
dependsOn = [];
|
|
||||||
|
|
||||||
ports = [
|
|
||||||
"80:80"
|
|
||||||
# "81:81" # Web interface
|
|
||||||
"443:443"
|
|
||||||
];
|
|
||||||
|
|
||||||
volumes = [
|
|
||||||
"nginx_config:/data"
|
|
||||||
"nginx_snippets:/snippets"
|
|
||||||
"nginx_letsencrypt:/etc/letsencrypt"
|
|
||||||
];
|
|
||||||
|
|
||||||
environment = {
|
|
||||||
DISABLE_IPV6 = "true";
|
|
||||||
};
|
|
||||||
|
|
||||||
extraOptions = [
|
|
||||||
# "--net=host"
|
|
||||||
"--net=behind-nginx"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user