2024-02-06 13:40:38 -05:00
|
|
|
_: let
|
|
|
|
storagePath = "/home/notoh/docker/stash";
|
|
|
|
in {
|
2023-05-28 22:00:50 -04:00
|
|
|
virtualisation.oci-containers.containers.stash = {
|
2024-11-12 16:35:58 -05:00
|
|
|
image = "stashapp/stash@sha256:28a04a0db254602c60af337e46770544f4b3f3e0cc0772603a673f6424336a61"; # v0.27.2
|
2024-02-01 15:48:47 -05:00
|
|
|
ports = ["9999:9999"];
|
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"
|
2024-02-06 13:40:38 -05:00
|
|
|
"${storagePath}/.config:/root/.stash"
|
|
|
|
"${storagePath}/data:/data"
|
|
|
|
"${storagePath}/.metadata:/metadata"
|
|
|
|
"${storagePath}/cache:/cache"
|
|
|
|
"${storagePath}/generated:/generated"
|
|
|
|
"${storagePath}/blobs:/blobs"
|
2023-05-28 22:00:50 -04:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|