1

Add ThinkNix config

This commit is contained in:
2024-04-04 18:18:28 +02:00
parent 1c1022f5c9
commit 385374e15e
7 changed files with 570 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{
config,
lib,
pkgs,
...
}: {
virtualisation.oci-containers.containers.portainer = {
image = "portainer/portainer-ce:latest";
autoStart = true;
dependsOn = [];
ports = [
# "8000:8000"
# "9443:9443"
];
volumes = [
"portainer_config:/data"
"/var/run/docker.sock:/var/run/docker.sock"
];
environment = {};
extraOptions = [
"--net=behind-nginx"
];
};
}