services: init more services / traefik stuff
This commit is contained in:
parent
9d7150f864
commit
98d1856a96
5 changed files with 44 additions and 1 deletions
|
@ -4,5 +4,7 @@
|
|||
./homepage.nix
|
||||
./searxng.nix
|
||||
./hugo.nix
|
||||
./stash.nix
|
||||
./foundryvtt.nix
|
||||
];
|
||||
}
|
||||
|
|
13
modules/services/foundryvtt.nix
Normal file
13
modules/services/foundryvtt.nix
Normal 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 = "";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -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"
|
||||
];
|
||||
};
|
||||
}
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue