snowflake/hosts/yuki/services/stash.nix

25 lines
694 B
Nix
Raw Normal View History

2023-06-11 02:08:06 -04:00
_: {
2023-05-28 22:00:50 -04:00
virtualisation.oci-containers.containers.stash = {
2024-01-11 07:51:17 -05:00
image = "stashapp/stash:v0.24.2";
2023-05-28 22:00:50 -04:00
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-10-20 05:30:35 -04:00
"/home/notoh/docker/stash/blobs:/blobs"
2023-05-28 22:00:50 -04:00
];
ports = [
"9999:9999"
];
};
}