Remove portainer in favor of Docker
Some checks failed
Auto Update Build / build (pull_request) Has been cancelled
Some checks failed
Auto Update Build / build (pull_request) Has been cancelled
This commit is contained in:
parent
edb41b3245
commit
c11fea4a9d
10 changed files with 44 additions and 57 deletions
|
|
@ -12,7 +12,11 @@ in
|
|||
oidc = {
|
||||
clientId = "FiIJTqBIlMKmeSBjznUFgXIJadt71av8dfICvZvf";
|
||||
endpoint = "https://auth.pasetto.me/application/o/dashy/";
|
||||
scope = ["openid" "profile" "email"];
|
||||
scope = [
|
||||
"openid"
|
||||
"profile"
|
||||
"email"
|
||||
];
|
||||
};
|
||||
};
|
||||
webSearch = {
|
||||
|
|
@ -325,10 +329,10 @@ in
|
|||
};
|
||||
items = [
|
||||
{
|
||||
title = "Portainer";
|
||||
title = "Docker";
|
||||
description = "Container Management";
|
||||
url = "https://portainer.${p.domains.public}";
|
||||
icon = "hl-portainer";
|
||||
url = "https://${p.hosts.docker}.${p.domains.public}";
|
||||
icon = "hl-docker";
|
||||
}
|
||||
{
|
||||
title = "Primary DNS";
|
||||
|
|
@ -354,7 +358,7 @@ in
|
|||
url = "https://node.${p.domains.public}:8006";
|
||||
icon = "hl-proxmox";
|
||||
}
|
||||
{
|
||||
{
|
||||
title = "Krzo";
|
||||
description = "Proxmox Node";
|
||||
url = "https://krzo.${p.domains.public}:8006";
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@ in
|
|||
uptime-kuma.proxy = {
|
||||
enable = true;
|
||||
domain = p.domains.public;
|
||||
host = p.hosts.portainer;
|
||||
host = p.hosts.docker;
|
||||
};
|
||||
|
||||
librenms.proxy = {
|
||||
|
|
@ -172,22 +172,22 @@ in
|
|||
}
|
||||
{
|
||||
subdomain = "ai";
|
||||
host = "http://${p.hosts.portainer}:4080";
|
||||
host = "http://${p.hosts.docker}:4080";
|
||||
domain = p.domains.public;
|
||||
}
|
||||
{
|
||||
subdomain = "keep";
|
||||
host = "http://${p.hosts.portainer}:3000";
|
||||
host = "http://${p.hosts.docker}:3000";
|
||||
domain = p.domains.public;
|
||||
}
|
||||
{
|
||||
subdomain = "maps";
|
||||
host = "http://${p.hosts.portainer}:5000";
|
||||
host = "http://${p.hosts.docker}:5000";
|
||||
domain = p.domains.public;
|
||||
}
|
||||
{
|
||||
subdomain = "dock";
|
||||
host = "http://${p.hosts.portainer}:3333";
|
||||
host = "http://${p.hosts.docker}:3333";
|
||||
domain = p.domains.public;
|
||||
}
|
||||
];
|
||||
|
|
|
|||
21
hosts/docker/default.nix
Normal file
21
hosts/docker/default.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
my = {
|
||||
utils = {
|
||||
commons.enable = true;
|
||||
lxc-standard.enable = true;
|
||||
};
|
||||
|
||||
monitoring.uptime-kuma.enable = true;
|
||||
|
||||
virtualisation = {
|
||||
proxmox.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
system.stateVersion = "24.11";
|
||||
}
|
||||
|
|
@ -29,7 +29,7 @@
|
|||
"auth"
|
||||
"metrics"
|
||||
"nextcloud"
|
||||
"portainer"
|
||||
"docker"
|
||||
"vaultwarden"
|
||||
"immich"
|
||||
"firefly-iii"
|
||||
|
|
@ -155,12 +155,12 @@
|
|||
];
|
||||
};
|
||||
|
||||
portainer = {
|
||||
module = ./portainer;
|
||||
docker = {
|
||||
module = ./docker;
|
||||
tags = [
|
||||
"lxc"
|
||||
"bacco"
|
||||
"portainer"
|
||||
"docker"
|
||||
"secondary"
|
||||
];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -104,7 +104,7 @@ in
|
|||
"${p.hosts.nextcloud}:${defaultNodePort}"
|
||||
"${p.hosts.vaultwarden}:${defaultNodePort}"
|
||||
"${p.hosts.plex}:${defaultNodePort}"
|
||||
"${p.hosts.portainer}:${defaultNodePort}"
|
||||
"${p.hosts.docker}:${defaultNodePort}"
|
||||
];
|
||||
}
|
||||
];
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ in
|
|||
nextcloud = "nextcloud.${private-domain}";
|
||||
vaultwarden = "vaultwarden.${private-domain}";
|
||||
plex = "plex.${private-domain}";
|
||||
portainer = "portainer.${private-domain}";
|
||||
docker = "docker.${private-domain}";
|
||||
colmena = "colmena.${private-domain}";
|
||||
pve01 = "bacco${private-domain}";
|
||||
pve02 = "node.${private-domain}";
|
||||
|
|
|
|||
|
|
@ -1,38 +0,0 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
portainerDataDir = "/var/lib/portainer"; # Define the directory for persistent data
|
||||
in
|
||||
{
|
||||
|
||||
age.secrets.watchtowerSecrets.file = ../../secrets/watchtower-secrets.age;
|
||||
|
||||
my = {
|
||||
utils = {
|
||||
commons.enable = true;
|
||||
lxc-standard.enable = true;
|
||||
};
|
||||
|
||||
monitoring.uptime-kuma.enable = true;
|
||||
|
||||
virtualisation = {
|
||||
proxmox.enable = true;
|
||||
portainer = {
|
||||
enable = true;
|
||||
enableWatchtower = true;
|
||||
environmentSecrets = config.age.secrets.watchtowerSecrets.path;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Extra packages
|
||||
environment.shellAliases = {
|
||||
docker = "sudo docker";
|
||||
};
|
||||
|
||||
system.stateVersion = "24.11";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue