vw conf @m3-atlas

This commit is contained in:
Sascha Koenig 2025-05-08 09:44:58 +02:00
parent 20bdd1c7b6
commit f33bfec02e
4 changed files with 8 additions and 7 deletions

View File

@ -8,6 +8,7 @@
# ./pangolin.nix
./restreamer.nix
./slash.nix
./slash-nemoti.nix
];
system.activationScripts.createPodmanNetworkWeb = lib.mkAfter ''
if ! /run/current-system/sw/bin/podman network exists web; then

View File

@ -1,26 +1,26 @@
{
virtualisation.oci-containers.containers."slash" = {
virtualisation.oci-containers.containers."slash-nemoti" = {
image = "docker.io/yourselfhosted/slash:latest";
ports = ["127.0.0.1:3016:5231"];
volumes = [
"slash_data:/var/opt/slash"
"slash-nemoti_data:/var/opt/slash"
];
extraOptions = ["--ip=10.89.0.16" "--network=web"];
extraOptions = ["--ip=10.89.0.17" "--network=web"];
};
# Traefik configuration specific to littlelink
services.traefik.dynamicConfigOptions.http = {
services.slash.loadBalancer.servers = [
services.slash-nemoti.loadBalancer.servers = [
{
url = "http://localhost:3016/";
}
];
routers.slash = {
routers.slash-nemoti = {
rule = "Host(`l.nemoti.art`)";
tls = {
certResolver = "godaddy";
};
service = "slash";
service = "slash-nemoti";
entrypoints = "websecure";
};
};

View File

@ -13,7 +13,7 @@
services.traefik.dynamicConfigOptions.http = {
services.vaultwarden.loadBalancer.servers = [
{
url = "http://localhost:3009/";
url = "http://localhost:3013/";
}
];

Binary file not shown.