no nextcloud

This commit is contained in:
♥ Minnie ♥ 2024-01-03 06:53:04 +08:00
parent 5cd53cdf24
commit cb1ca160b7
5 changed files with 0 additions and 57 deletions

View file

@ -27,7 +27,6 @@
./containers/dashboard
./containers/microbin
./containers/multimedia
./containers/nextcloud
# Import services
./services/adguardhome

View file

@ -1,23 +0,0 @@
{ ... }:
{
virtualisation.oci-containers.containers = {
nextcloud-aio-mastercontainer = {
autoStart = true;
image = "nextcloud/all-in-one:20231220_153200-latest";
ports = [
"8484:8080/tcp" # AIO Interface
];
volumes = [
"nextcloud_aio_mastercontainer:/mnt/docker-aio-config"
"/var/run/docker.sock:/var/run/docker.sock:ro"
];
environment = {
NEXTCLOUD_DATADIR = "/mnt/data/nextcloud";
APACHE_PORT = "11000";
APACHE_IP_BINDING = "0.0.0.0";
};
};
};
}

View file

@ -42,24 +42,6 @@
# Even if an IP stays in the cache for a period of a month, it must be fetch again after a month.
forceMonthlyUpdate = "true";
};
# Secure headers for nextcloud
nextcloud-secure-headers = {
headers = {
hostsProxyHeaders = [ "X-Forwarded-Host" ];
referrerPolicy = "same-origin";
};
};
# Redirect HTTPS
https-redirect = {
redirectscheme.scheme = "https";
};
# Nextcloud chain
nextcloud-chain = {
chain.middlewares = [
"https-redirect"
"nextcloud-secure-headers"
];
};
};
}

View file

@ -144,18 +144,6 @@
];
service = "jellyseerr";
};
nextcloud = {
rule = "Host(`nc.kanto.dev`)";
entryPoints = [
"websecure"
];
middlewares = [
# "internal"
"nextcloud-chain"
];
service = "nextcloud";
};
};
}

View file

@ -38,9 +38,6 @@
jellyseerr.loadBalancer.servers = [
{ url = "http://192.168.1.102:5055"; }
];
nextcloud.loadBalancer.servers = [
{ url = "http://192.168.1.102:11000"; }
];
};
}