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