services: init more services / traefik stuff

This commit is contained in:
notohh 2023-05-14 00:50:11 -04:00
parent 9d7150f864
commit 98d1856a96
Signed by: notohh
GPG key ID: BD47506D475EE86D
5 changed files with 44 additions and 1 deletions

View file

@ -4,5 +4,7 @@
./homepage.nix
./searxng.nix
./hugo.nix
./stash.nix
./foundryvtt.nix
];
}

View file

@ -0,0 +1,13 @@
{...}: {
virtualisation.oci-containers.containers.foundryvtt = {
image = "felddy/foundryvtt:release";
ports = ["30000:30000"];
volumes = [
"/home/notoh/docker/foundryvtt:/data"
];
environment = {
FOUNDRY_USERNAME = "";
FOUNDRY_PASSWORD = "";
};
};
}

View file

@ -0,0 +1,23 @@
{...}: {
virtualisation.oci-containers.containers.stash = {
image = "stashapp/stash";
ports = [
"9999:9999"
];
environment = {
STASH_STASH = "/data/";
STASH_GENERATED = "/generated/";
STASH_METADATA = "/metadata/";
STASH_CACHE = "/cache/";
STASH_PORT = "9999";
};
volumes = [
"/etc/localtime:/etc/localtime:ro"
"/home/notoh/docker/stash/.config:/root/.stash"
"/home/notoh/docker/stash/data:/data"
"/home/notoh/docker/stash/.metadata:/metadata"
"/home/notoh/docker/stash/cache:/cache"
"/home/notoh/docker/stash/generated:/generated"
];
};
}

View file

@ -23,10 +23,15 @@
service = "searxng@docker";
};
hugo = {
rule = "Host(``)";
rule = "Host(`hugo.lab`)";
entryPoints = ["websecure"];
service = "hugo@docker";
};
stash = {
rule = "Host(`stash.lab`)";
entrypoints = ["web"];
service = "stash@docker";
};
};
};
};