some updates to server
This commit is contained in:
parent
b1d142b5ed
commit
cfce2549b8
@ -13,6 +13,7 @@
|
||||
seafile
|
||||
vaultwarden
|
||||
|
||||
battery-historian
|
||||
media-stack
|
||||
];
|
||||
|
||||
|
7
profiles/servers/battery-historian.nix
Normal file
7
profiles/servers/battery-historian.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
virtualisation.oci-containers.containers.battery-historian = {
|
||||
autoStart = true;
|
||||
ports = [ "127.0.0.1:9999:9999" ];
|
||||
image = "gcr.io/android-battery-historian/stable:3.0";
|
||||
};
|
||||
}
|
@ -19,6 +19,14 @@
|
||||
rootUrl = "https://code.ataraxiadev.com";
|
||||
stateDir = "/gitea/data";
|
||||
settings = {
|
||||
attachment = {
|
||||
MAX_SIZE = 100;
|
||||
MAX_FILES = 10;
|
||||
};
|
||||
"repository.upload" = {
|
||||
FILE_MAX_SIZE = 100;
|
||||
MAX_FILES = 10;
|
||||
};
|
||||
ui = {
|
||||
DEFAULT_THEME = "arc-green";
|
||||
};
|
||||
|
@ -2,7 +2,7 @@
|
||||
with config.virtualisation.oci-containers; {
|
||||
imports = [
|
||||
./bazarr.nix
|
||||
./botdarr.nix
|
||||
# ./botdarr.nix
|
||||
./caddy.nix
|
||||
./jellyfin.nix
|
||||
./kavita.nix
|
||||
@ -12,7 +12,7 @@ with config.virtualisation.oci-containers; {
|
||||
./prowlarr.nix
|
||||
./qbittorrent.nix
|
||||
./radarr.nix
|
||||
./shoko.nix
|
||||
# ./shoko.nix
|
||||
./sonarr.nix
|
||||
];
|
||||
|
||||
@ -39,8 +39,8 @@ with config.virtualisation.oci-containers; {
|
||||
serviceConfig.Type = "oneshot";
|
||||
wantedBy = [
|
||||
"${backend}-bazarr.service"
|
||||
"${backend}-botdarr-matrix.service"
|
||||
"${backend}-botdarr-telegram.service"
|
||||
# "${backend}-botdarr-matrix.service"
|
||||
# "${backend}-botdarr-telegram.service"
|
||||
"${backend}-jellyfin.service"
|
||||
"${backend}-kavita.service"
|
||||
"${backend}-lidarr.service"
|
||||
@ -50,7 +50,7 @@ with config.virtualisation.oci-containers; {
|
||||
"${backend}-prowlarr.service"
|
||||
"${backend}-qbittorrent.service"
|
||||
"${backend}-radarr.service"
|
||||
"${backend}-shokoserver.service"
|
||||
# "${backend}-shokoserver.service"
|
||||
"${backend}-sonarr-anime.service"
|
||||
"${backend}-sonarr-tv.service"
|
||||
"${backend}-xray.service"
|
||||
@ -61,4 +61,4 @@ with config.virtualisation.oci-containers; {
|
||||
exit 0
|
||||
'';
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -33,6 +33,7 @@
|
||||
"nzbhydra.ataraxiadev.com"
|
||||
"kavita.ataraxiadev.com"
|
||||
"shoko.ataraxiadev.com"
|
||||
"bathist.ataraxiadev.com"
|
||||
];
|
||||
};
|
||||
};
|
||||
@ -168,6 +169,11 @@
|
||||
proxyPass = "http://localhost:6000";
|
||||
} // proxySettings;
|
||||
} // default;
|
||||
"bathist.ataraxiadev.com" = {
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:9999";
|
||||
} // proxySettings;
|
||||
} // default;
|
||||
"file.ataraxiadev.com" = {
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:8088";
|
||||
@ -224,5 +230,8 @@
|
||||
group = config.services.nginx.group;
|
||||
};
|
||||
|
||||
# Temp.py script
|
||||
environment.systemPackages = with pkgs; [ python3 python3Packages.requests ];
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 8448 ];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user