add s3 storage on chungus
This commit is contained in:
parent
b32deb062b
commit
bfb1fc9a75
4 changed files with 25 additions and 4 deletions
|
@ -31,17 +31,18 @@ let
|
|||
"tdarr.pepe" = hosts.pepe;
|
||||
"tts.pepe" = hosts.pepe;
|
||||
# chungus
|
||||
"git.chungus" = hosts.chungus;
|
||||
"de.tts.chungus" = hosts.chungus;
|
||||
"en.tts.chungus" = hosts.chungus;
|
||||
"flix.chungus" = hosts.chungus;
|
||||
"git.chungus" = hosts.chungus;
|
||||
"grafana.chungus" = hosts.chungus;
|
||||
"loki.chungus" = hosts.chungus;
|
||||
"prometheus.chungus" = hosts.chungus;
|
||||
"s3.chungus" = hosts.chungus;
|
||||
"sync.chungus" = hosts.chungus;
|
||||
"tdarr.chungus" = hosts.chungus;
|
||||
"trilium.chungus" = hosts.chungus;
|
||||
"tts.chungus" = hosts.chungus;
|
||||
"de.tts.chungus" = hosts.chungus;
|
||||
"en.tts.chungus" = hosts.chungus;
|
||||
# cream
|
||||
"trilium.cream" = hosts.cream;
|
||||
};
|
||||
|
|
|
@ -46,6 +46,8 @@
|
|||
./sync-script.nix
|
||||
./syncthing.nix
|
||||
|
||||
./services-s3.nix
|
||||
|
||||
#./kiosk.nix
|
||||
./trilium.nix
|
||||
./gitea.nix
|
||||
|
|
18
nixos/machines/chungus/services-s3.nix
Normal file
18
nixos/machines/chungus/services-s3.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -34,7 +34,7 @@
|
|||
./media-transmission.nix
|
||||
./media-transmission2.nix
|
||||
|
||||
#./social-jitsi.nix
|
||||
./social-jitsi.nix
|
||||
|
||||
#./webhook-ring.nix
|
||||
|
||||
|
|
Loading…
Reference in a new issue