add s3 storage on chungus

This commit is contained in:
Ingolf Wagner 2023-10-05 16:30:34 +02:00
parent b32deb062b
commit bfb1fc9a75
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
4 changed files with 25 additions and 4 deletions

View file

@ -31,17 +31,18 @@ let
"tdarr.pepe" = hosts.pepe; "tdarr.pepe" = hosts.pepe;
"tts.pepe" = hosts.pepe; "tts.pepe" = hosts.pepe;
# chungus # chungus
"git.chungus" = hosts.chungus; "de.tts.chungus" = hosts.chungus;
"en.tts.chungus" = hosts.chungus;
"flix.chungus" = hosts.chungus; "flix.chungus" = hosts.chungus;
"git.chungus" = hosts.chungus;
"grafana.chungus" = hosts.chungus; "grafana.chungus" = hosts.chungus;
"loki.chungus" = hosts.chungus; "loki.chungus" = hosts.chungus;
"prometheus.chungus" = hosts.chungus; "prometheus.chungus" = hosts.chungus;
"s3.chungus" = hosts.chungus;
"sync.chungus" = hosts.chungus; "sync.chungus" = hosts.chungus;
"tdarr.chungus" = hosts.chungus; "tdarr.chungus" = hosts.chungus;
"trilium.chungus" = hosts.chungus; "trilium.chungus" = hosts.chungus;
"tts.chungus" = hosts.chungus; "tts.chungus" = hosts.chungus;
"de.tts.chungus" = hosts.chungus;
"en.tts.chungus" = hosts.chungus;
# cream # cream
"trilium.cream" = hosts.cream; "trilium.cream" = hosts.cream;
}; };

View file

@ -46,6 +46,8 @@
./sync-script.nix ./sync-script.nix
./syncthing.nix ./syncthing.nix
./services-s3.nix
#./kiosk.nix #./kiosk.nix
./trilium.nix ./trilium.nix
./gitea.nix ./gitea.nix

View file

@ -0,0 +1,18 @@
{ config, ... }:
{
services.minio = {
enable = true;
region = "home";
};
services.nginx = {
enable = true;
virtualHosts."s3.${config.networking.hostName}.private" = {
locations."/" = {
recommendedProxySettings = true;
proxyWebsockets = true;
proxyPass = "http://localhost:9001";
};
};
};
}

View file

@ -34,7 +34,7 @@
./media-transmission.nix ./media-transmission.nix
./media-transmission2.nix ./media-transmission2.nix
#./social-jitsi.nix ./social-jitsi.nix
#./webhook-ring.nix #./webhook-ring.nix