2023-05-14 00:50:11 -04:00
|
|
|
{...}: {
|
|
|
|
virtualisation.oci-containers.containers.stash = {
|
|
|
|
image = "stashapp/stash";
|
|
|
|
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"
|
|
|
|
];
|
2023-05-15 03:49:48 -04:00
|
|
|
ports = [
|
|
|
|
"9999:9999"
|
|
|
|
];
|
2023-05-14 00:50:11 -04:00
|
|
|
};
|
|
|
|
}
|