28 lines
694 B
Nix
Raw Permalink Normal View History

2025-05-07 23:46:40 +02:00
{
2025-05-08 09:44:58 +02:00
virtualisation.oci-containers.containers."slash-nemoti" = {
2025-05-07 23:46:40 +02:00
image = "docker.io/yourselfhosted/slash:latest";
ports = ["127.0.0.1:3016:5231"];
volumes = [
2025-05-08 09:44:58 +02:00
"slash-nemoti_data:/var/opt/slash"
2025-05-07 23:46:40 +02:00
];
2025-05-08 09:44:58 +02:00
extraOptions = ["--ip=10.89.0.17" "--network=web"];
2025-05-07 23:46:40 +02:00
};
# Traefik configuration specific to littlelink
services.traefik.dynamicConfigOptions.http = {
2025-05-08 09:44:58 +02:00
services.slash-nemoti.loadBalancer.servers = [
2025-05-07 23:46:40 +02:00
{
url = "http://localhost:3016/";
}
];
2025-05-08 09:44:58 +02:00
routers.slash-nemoti = {
2025-05-07 23:46:40 +02:00
rule = "Host(`l.nemoti.art`)";
tls = {
certResolver = "godaddy";
};
2025-05-08 09:44:58 +02:00
service = "slash-nemoti";
2025-05-07 23:46:40 +02:00
entrypoints = "websecure";
};
};
}