Rename Komodo to Komo and update some docker/proxy configs

This commit is contained in:
Chris Toph 2025-06-11 02:46:49 -04:00
parent 947f902192
commit 3275c438da
9 changed files with 7 additions and 21 deletions

View file

@ -6,7 +6,7 @@
... ...
}: }:
let let
# Only available in the Komodo LXC # Only available in the Komo LXC
DockerStorage = "/mnt/DockerStorage/komodo/stacks/authentik"; DockerStorage = "/mnt/DockerStorage/komodo/stacks/authentik";
env = config.secretsSpec.docker.authentik; env = config.secretsSpec.docker.authentik;
in in
@ -94,7 +94,7 @@ in
]; ];
}; };
virtualisation.oci-containers.containers."authentik-server" = { virtualisation.oci-containers.containers."authentik-server" = {
image = "ghcr.io/goauthentik/server:2024.12.2"; image = "ghcr.io/goauthentik/server:2025.6.1";
environment = env; environment = env;
volumes = [ volumes = [
"${DockerStorage}/custom-templates:/templates:rw" "${DockerStorage}/custom-templates:/templates:rw"
@ -136,7 +136,7 @@ in
]; ];
}; };
virtualisation.oci-containers.containers."authentik-worker" = { virtualisation.oci-containers.containers."authentik-worker" = {
image = "ghcr.io/goauthentik/server:2024.12.2"; image = "ghcr.io/goauthentik/server:2025.6.1";
environment = env; environment = env;
volumes = [ volumes = [
"${DockerStorage}/certs:/certs:rw" "${DockerStorage}/certs:/certs:rw"

View file

@ -64,13 +64,6 @@
''; '';
}; };
"mail.ryot.foo" = {
useACMEHost = "ryot.foo";
extraConfig = ''
reverse_proxy localhost:9002
'';
};
"map.ryot.foo" = { "map.ryot.foo" = {
useACMEHost = "ryot.foo"; useACMEHost = "ryot.foo";
extraConfig = '' extraConfig = ''
@ -91,13 +84,6 @@
reverse_proxy localhost:3000 reverse_proxy localhost:3000
''; '';
}; };
"upsnap.ryot.foo" = {
useACMEHost = "ryot.foo";
extraConfig = ''
reverse_proxy localhost:8090
'';
};
}; };
}; };
} }

View file

@ -1,6 +1,6 @@
############################################################### ###############################################################
# #
# Komodo - LXC Container # Komo - LXC Container
# NixOS container, Ryzen 5 5600G (12 Cores), 30GB/2GB RAM/SWAP # NixOS container, Ryzen 5 5600G (12 Cores), 30GB/2GB RAM/SWAP
# #
# Docker Environment, Managed by with Komodo # Docker Environment, Managed by with Komodo
@ -16,11 +16,11 @@
let let
username = "toph"; username = "toph";
user = config.secretsSpec.users.${username}; user = config.secretsSpec.users.${username};
firewall = config.secretsSpec.firewall.komodo; firewall = config.secretsSpec.firewall.komo;
in in
{ {
imports = lib.flatten [ imports = lib.flatten [
## Komodo Only ## ## Komo Only ##
./config ./config
## Hardware ## ## Hardware ##
@ -38,7 +38,7 @@ in
## Host Specifications ## ## Host Specifications ##
hostSpec = { hostSpec = {
hostName = "komodo"; hostName = "komo";
username = username; username = username;
hashedPassword = user.hashedPassword; hashedPassword = user.hashedPassword;
email = user.email; email = user.email;