adding metube

This commit is contained in:
Chris Cochrun 2025-05-19 19:34:32 -05:00
parent f79171348f
commit 447bcea2fc
2 changed files with 32 additions and 0 deletions

31
modules/metube.nix Normal file
View file

@ -0,0 +1,31 @@
{ config, lib, pkgs, ... }:
let
dn = "metube.tfcconnection.org";
in
with lib;
{
services.nginx.virtualHosts.${dn} = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://127.0.0.1:8085";
};
};
virtualisation = {
podman = {
enable = true;
};
oci-containers = {
# backend = "podman";
containers = {
metube = {
image = "ghcr.io/alexta69/metube";
restart = "unless-stopped";
ports = [ "8085:8081" ];
volumes = [ "/storage/downloads:/downloads" ];
};
};
};
};
}

View file

@ -20,6 +20,7 @@ in
../../modules/mail.nix
../../modules/vaultwarden.nix
../../modules/website.nix
../../modules/metube.nix
../../modules/grist.nix
../../modules/keycloak.nix
# ../../modules/comfyui.nix