no nextcloud
This commit is contained in:
parent
5cd53cdf24
commit
cb1ca160b7
|
@ -27,7 +27,6 @@
|
||||||
./containers/dashboard
|
./containers/dashboard
|
||||||
./containers/microbin
|
./containers/microbin
|
||||||
./containers/multimedia
|
./containers/multimedia
|
||||||
./containers/nextcloud
|
|
||||||
|
|
||||||
# Import services
|
# Import services
|
||||||
./services/adguardhome
|
./services/adguardhome
|
||||||
|
|
|
@ -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";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
|
@ -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.
|
# Even if an IP stays in the cache for a period of a month, it must be fetch again after a month.
|
||||||
forceMonthlyUpdate = "true";
|
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"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -144,18 +144,6 @@
|
||||||
];
|
];
|
||||||
service = "jellyseerr";
|
service = "jellyseerr";
|
||||||
};
|
};
|
||||||
|
|
||||||
nextcloud = {
|
|
||||||
rule = "Host(`nc.kanto.dev`)";
|
|
||||||
entryPoints = [
|
|
||||||
"websecure"
|
|
||||||
];
|
|
||||||
middlewares = [
|
|
||||||
# "internal"
|
|
||||||
"nextcloud-chain"
|
|
||||||
];
|
|
||||||
service = "nextcloud";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -38,9 +38,6 @@
|
||||||
jellyseerr.loadBalancer.servers = [
|
jellyseerr.loadBalancer.servers = [
|
||||||
{ url = "http://192.168.1.102:5055"; }
|
{ url = "http://192.168.1.102:5055"; }
|
||||||
];
|
];
|
||||||
nextcloud.loadBalancer.servers = [
|
|
||||||
{ url = "http://192.168.1.102:11000"; }
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue