1
0
Fork 0

mediaserver: wip tubearchivist

This commit is contained in:
Daniel Kempkens 2023-04-20 15:02:34 +02:00
parent 4ff86ac1a8
commit 92dad289e9
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
7 changed files with 69 additions and 0 deletions

View file

@ -17,5 +17,13 @@
wireguard-config = {
file = ./wireguard/config.age;
};
tubearchivist-environment-ta = {
file = ./tubearchivist/environmentTA.age;
};
tubearchivist-environment-es = {
file = ./tubearchivist/environmentES.age;
};
};
}

View 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©Ú>Å€`çºcf”´(Ù§6˜Ç™ÛaÜ÷œ§²‡™®tÜ<74>³M$xÁº<C381>;`bˆO}ô]ÓÄ…ŒÆ Iy¢È=Vk‡ˆ|

View 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¤WdzUcš!6ÿìÒ’Ùñ+<2B>¶µ×m|ScŸMØ}U4þÐ }Eà¨rvËȹ„DS«`óAå7„ ^3¥K<C2A5>0z»§/!3¿®WV¥²âa1]JµEíüÚÖxZ…T@õµÆöèvlÒ[žàÆu~;€U½ht}Þ[·;üöFÓü¢O~r…(2÷³/a”:ÀQ“[VS5{‡s(,4{z•]ç<>[RbÀÖz §+dŽZù

View 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"
# ];
# };
# };
}

View file

@ -63,4 +63,8 @@ in
"agenix/hosts/mediaserver/tailscale/authkey.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;
}

View file

@ -27,6 +27,7 @@ in
../nixos/jellyfin.nix
../nixos/container.nix
../../container/tubearchivist
../../secret/container/additional-media
];