1

Services/Portainer: Update to v2.31.3

This commit is contained in:
2025-07-11 21:49:06 +02:00
parent 5cbd2d3a88
commit e54249d86d
2 changed files with 68 additions and 57 deletions

View File

@ -3,9 +3,14 @@
lib, lib,
pkgs, pkgs,
... ...
}: { }: let
virtualisation.oci-containers.containers.portainer-agent = { # Match this with the portainer-ce version
image = "portainer/agent:latest"; portainerVersion = "2.31.3";
in {
# Use the agent to connect clients to a main portainer instance
virtualisation.oci-containers.containers = {
portainer-agent = {
image = "portainer/agent:${portainerVersion}";
autoStart = true; autoStart = true;
login = { login = {
@ -35,4 +40,5 @@
# "--net=behind-nginx" # "--net=behind-nginx"
]; ];
}; };
};
} }

View File

@ -3,9 +3,13 @@
lib, lib,
pkgs, pkgs,
... ...
}: { }: let
virtualisation.oci-containers.containers.portainer = { # Match this with the portainer agent version
image = "portainer/portainer-ce:latest"; portainerVersion = "2.31.3";
in {
virtualisation.oci-containers.containers = {
portainer = {
image = "portainer/portainer-ce:${portainerVersion}";
autoStart = true; autoStart = true;
login = { login = {
@ -36,4 +40,5 @@
"--net=behind-nginx" "--net=behind-nginx"
]; ];
}; };
};
} }