adding metube
This commit is contained in:
parent
f79171348f
commit
447bcea2fc
31
modules/metube.nix
Normal file
31
modules/metube.nix
Normal 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" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue