Delete old services
This commit is contained in:
@ -1,38 +0,0 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
virtualisation.oci-containers.containers.pyload-ng = {
|
||||
image = "lscr.io/linuxserver/pyload-ng";
|
||||
autoStart = true;
|
||||
|
||||
dependsOn = [
|
||||
# "pihole"
|
||||
];
|
||||
|
||||
ports = [
|
||||
# "8000:8000"
|
||||
# "9666:9666" # Optional click'n'load
|
||||
];
|
||||
|
||||
volumes = [
|
||||
"pyload-ng_config:/config"
|
||||
"/media/Usenet/pyloadng:/downloads"
|
||||
];
|
||||
|
||||
environment = {
|
||||
PUID = "3001";
|
||||
PGID = "3001";
|
||||
TZ = "Europe/Berlin";
|
||||
# NVIDIA_VISIBLE_DEVICES = "all";
|
||||
# NVIDIA_DRIVER_CAPABILITIES = "all";
|
||||
};
|
||||
|
||||
extraOptions = [
|
||||
# "--gpus=all"
|
||||
"--network=behind-nginx"
|
||||
];
|
||||
};
|
||||
}
|
@ -1,76 +0,0 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
virtualisation.oci-containers.containers.speedtest-tracker = {
|
||||
image = "ghcr.io/alexjustesen/speedtest-tracker:latest";
|
||||
autoStart = true;
|
||||
|
||||
dependsOn = [
|
||||
# "pihole"
|
||||
"speedtest-tracker-mariadb"
|
||||
];
|
||||
|
||||
ports = [];
|
||||
|
||||
volumes = [
|
||||
"speedtest-tracker_config:/config"
|
||||
"speedtest-tracker_web:/etc/ssl/web"
|
||||
|
||||
"/etc/localtime:/etc/localtime:ro"
|
||||
];
|
||||
|
||||
environment = {
|
||||
PUID = "1000";
|
||||
PGID = "1000";
|
||||
TZ = "Europe/Berlin";
|
||||
|
||||
DB_CONNECTION = "mysql";
|
||||
DB_HOST = "speedtest-tracker-mariadb";
|
||||
DB_PORT = "3306";
|
||||
DB_DATABASE = "speedtest_tracker";
|
||||
DB_USERNAME = "speedy";
|
||||
DB_PASSWORD = "password";
|
||||
|
||||
# NVIDIA_VISIBLE_DEVICES = "all";
|
||||
# NVIDIA_DRIVER_CAPABILITIES = "all";
|
||||
};
|
||||
|
||||
extraOptions = [
|
||||
# "--gpus=all"
|
||||
"--network=behind-nginx"
|
||||
];
|
||||
};
|
||||
|
||||
virtualisation.oci-containers.containers.speedtest-tracker-mariadb = {
|
||||
image = "mariadb:10";
|
||||
autoStart = true;
|
||||
|
||||
dependsOn = [
|
||||
# "pihole"
|
||||
];
|
||||
|
||||
ports = [];
|
||||
|
||||
volumes = [
|
||||
"speetest-tracker-mariadb_storage:/var/lib/mysql"
|
||||
];
|
||||
|
||||
environment = {
|
||||
MARIADB_DATABASE = "speedtest_tracker";
|
||||
MARIADB_USER = "speedy";
|
||||
MARIADB_PASSWORD = "password";
|
||||
MARIADB_RANDOM_ROOT_PASSWORD = "true";
|
||||
|
||||
# NVIDIA_VISIBLE_DEVICES = "all";
|
||||
# NVIDIA_DRIVER_CAPABILITIES = "all";
|
||||
};
|
||||
|
||||
extraOptions = [
|
||||
# "--gpus=all"
|
||||
"--network=behind-nginx"
|
||||
];
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user