add shimmie
This commit is contained in:
parent
13b08245de
commit
72fffad326
@ -328,6 +328,10 @@ in {
|
||||
subdomain = "qbittorrent";
|
||||
port = 8080;
|
||||
}
|
||||
{
|
||||
subdomain = "shimmie";
|
||||
port = 8000;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
@ -520,6 +524,12 @@ in {
|
||||
backend = "podman";
|
||||
|
||||
containers = {
|
||||
shimmie = {
|
||||
image = "docker.io/shish2k/shimmie2:latest";
|
||||
volumes = ["/tank/dump/shimmie:/app/data"];
|
||||
ports = ["127.0.0.1:8000:8000"];
|
||||
};
|
||||
|
||||
jdownloader = {
|
||||
image = "docker.io/jlesage/jdownloader-2:latest";
|
||||
autoStart = true;
|
||||
@ -600,6 +610,7 @@ in {
|
||||
|
||||
script = ''
|
||||
while read -r evt file; do
|
||||
printf "handling $evt for $file"
|
||||
${pkgs.coreutils}/bin/chown ${user}:${group} "$file"
|
||||
${pkgs.coreutils}/bin/chmod 775 "$file"
|
||||
done < <(${pkgs.inotify-tools}/bin/inotifywait -e create,move -m -r --format '%e %w%f' ${path})
|
||||
|
Loading…
x
Reference in New Issue
Block a user