mediaserver: wip tubearchivist
This commit is contained in:
parent
4ff86ac1a8
commit
92dad289e9
7 changed files with 69 additions and 0 deletions
|
@ -17,5 +17,13 @@
|
||||||
wireguard-config = {
|
wireguard-config = {
|
||||||
file = ./wireguard/config.age;
|
file = ./wireguard/config.age;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
tubearchivist-environment-ta = {
|
||||||
|
file = ./tubearchivist/environmentTA.age;
|
||||||
|
};
|
||||||
|
|
||||||
|
tubearchivist-environment-es = {
|
||||||
|
file = ./tubearchivist/environmentES.age;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
9
agenix/hosts/mediaserver/tubearchivist/environmentES.age
Normal file
9
agenix/hosts/mediaserver/tubearchivist/environmentES.age
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
age-encryption.org/v1
|
||||||
|
-> ssh-ed25519 MtGp6g ieA0BUCb36AR1ElLDpVwymxSpZFLJk0Ky95oy8ArdHA
|
||||||
|
IGJpaxn0ddD1OsVMK6zaMOOk4pnnp8nrQKeRQ0riBT8
|
||||||
|
-> ssh-ed25519 Y94Yig ZLZDGMPbK6LHx2PzYIWSEBYKURRCvkJJL7fSBapnwQU
|
||||||
|
/pASdlY8V1kxr5TUfAXkOPEIqTLlLyB4VY1BH9pHpoM
|
||||||
|
-> q5kUUD^-grease
|
||||||
|
3Ilo/+uADYf2hqTaXsQR1UtCV4YZosoOYnxjY1hrmssCHJY
|
||||||
|
--- TPwvrGYvKfDME3WTFgyv9pOR7nOPHPCFylQzE4qV2kk
|
||||||
|
\.ׯꋶ…}Ì?žBG˜ñ²Åø6,ky§¡åñï$¨å®½O\-¸šA'¼¦s&[8_f“¦ÿ{þ5s'm´LZJVÑ|ýR\®Í¿ï/ˆ´Dr@XÂœÈÈ!QžÆ4o’„¾ASæø÷œý¨™(ØW
RùÜQ©Ú>Å€`çºc\¥ f”´(Ù§6˜Ç™ÛaÜ÷‚œ§²‡™®tÜ<74>³M$xÁº<C381>;’`bˆO}ô]ÓÄ…ŒÆ Iy¢È=Vk‡ˆ|
|
9
agenix/hosts/mediaserver/tubearchivist/environmentTA.age
Normal file
9
agenix/hosts/mediaserver/tubearchivist/environmentTA.age
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
age-encryption.org/v1
|
||||||
|
-> ssh-ed25519 MtGp6g ursvuiyjKkXNcAPEn5iOK7Nsg1x+RJhAHdNwWB/1hho
|
||||||
|
OdN5lEWaQgd+B/U6wKszQbDyp6MzepIq5xnsvJ/uiYQ
|
||||||
|
-> ssh-ed25519 Y94Yig FCpPV0eILzRUfABR8vY1X48Tw+VBrBtPd9ZoGq/k2V4
|
||||||
|
uS5pUgxD/5wwCFVH5UX6h4GRCvs7ajEqM9HUkgpiMVE
|
||||||
|
-> ?`.}^-grease }s:[/Y+} 81$^9e 1 /'
|
||||||
|
hyFuWow2oXRk+HRjPQJHQputCUFLWUxcOthm5aQ
|
||||||
|
--- RTAPvC+ShrGZPxz9EEyeCOERlBtwkLSczpqz0s6k058
|
||||||
|
ˆçˆ¸ì4^%!ì'ç/ÃkF1x‚ó)uÄb?·'z,òò¿<C3B2>ùjiNœ@rÄ=:‘´}3¨é"Ý2h¡nè¿„ÕÆÜÜv{=ý<>úÝåLs&–¹M-yû<R¤W‘dzUcš!6ÿìÒ’Ùñ+<2B>¶µA®×m|ScŸMØ}U4þÐ}Eà¨rvËȹ„DS«`óAå7„‘ ^3¥K<C2A5>0z»§/!3¿®W›V¥²âa1]JµEíüÚÖxZ…T@õµÆöèvlÒ[žàÆu~;€U½ht}Þ[·;üöFÓü¢‹O~r…(2÷³/a”:ÀQ“[VS5{‡s(,4{z•]7»ç<>[RbÀÖz§+dŽZù
|
38
container/tubearchivist/default.nix
Normal file
38
container/tubearchivist/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
{ config, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
systemd.tmpfiles.rules = [
|
||||||
|
"d /var/lib/tubearchivist 0755 root root"
|
||||||
|
"d /var/lib/tubearchivist/redis 0755 root root"
|
||||||
|
"d /var/lib/tubearchivist/es 0755 root root"
|
||||||
|
];
|
||||||
|
|
||||||
|
# virtualisation.oci-containers.containers = {
|
||||||
|
# tubearchivist = {
|
||||||
|
# image = "docker.io/bbilly1/tubearchivist:latest";
|
||||||
|
# dependsOn = [ "archivist-es" "archivist-redis" ];
|
||||||
|
# ports = [ "127.0.0.1:9887:8000" ];
|
||||||
|
# environmentFiles = [ config.age.secrets.tubearchivist-environment-ta.path ];
|
||||||
|
# volumes = [
|
||||||
|
# "/mnt/media/YTDL/Downloads:/youtube"
|
||||||
|
# "/mnt/media/YTDL/Cache:/cache"
|
||||||
|
# ];
|
||||||
|
# };
|
||||||
|
#
|
||||||
|
# archivist-redis = {
|
||||||
|
# image = "docker.io/redis/redis-stack-server:latest";
|
||||||
|
# volumes = [
|
||||||
|
# "/var/lib/tubearchivist/redis:/data"
|
||||||
|
# ];
|
||||||
|
# };
|
||||||
|
#
|
||||||
|
# archivist-es = {
|
||||||
|
# image = "docker.io/bbilly1/tubearchivist-es:latest";
|
||||||
|
# environmentFiles = [ config.age.secrets.tubearchivist-environment-es.path ];
|
||||||
|
# extraOptions = [ "--ulimit memlock=-1:-1" ];
|
||||||
|
# volumes = [
|
||||||
|
# "/var/lib/tubearchivist/es:/usr/share/elasticsearch/data"
|
||||||
|
# ];
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
}
|
Binary file not shown.
|
@ -63,4 +63,8 @@ in
|
||||||
"agenix/hosts/mediaserver/tailscale/authkey.age".publicKeys = mediaserver;
|
"agenix/hosts/mediaserver/tailscale/authkey.age".publicKeys = mediaserver;
|
||||||
|
|
||||||
"agenix/hosts/mediaserver/wireguard/config.age".publicKeys = mediaserver;
|
"agenix/hosts/mediaserver/wireguard/config.age".publicKeys = mediaserver;
|
||||||
|
|
||||||
|
"agenix/hosts/mediaserver/tubearchivist/environmentTA.age".publicKeys = mediaserver;
|
||||||
|
|
||||||
|
"agenix/hosts/mediaserver/tubearchivist/environmentES.age".publicKeys = mediaserver;
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,6 +27,7 @@ in
|
||||||
../nixos/jellyfin.nix
|
../nixos/jellyfin.nix
|
||||||
|
|
||||||
../nixos/container.nix
|
../nixos/container.nix
|
||||||
|
../../container/tubearchivist
|
||||||
../../secret/container/additional-media
|
../../secret/container/additional-media
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue