nextcloud containerized
This commit is contained in:
@@ -195,9 +195,7 @@
|
||||
|
||||
"pihole/pass" = {};
|
||||
|
||||
"nextcloud/pass" = {
|
||||
owner = "sshd";
|
||||
};
|
||||
"nextcloud/pass" = {};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -257,7 +255,7 @@
|
||||
|
||||
pihole.enable = true;
|
||||
|
||||
nextcloud.enable = false;
|
||||
nextcloud.enable = true;
|
||||
|
||||
gitlab.enable = true;
|
||||
};
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
|
||||
bindMounts = {
|
||||
|
||||
"/etc/nextcloud" = {
|
||||
"/var/lib/nextcloud" = {
|
||||
hostPath = "/ssd1/Nextcloud/data";
|
||||
isReadOnly = false;
|
||||
};
|
||||
@@ -80,11 +80,7 @@
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
services.nginx = {
|
||||
virtualHosts."192.168.100.15".listen = [ { addr = "0.0.0.0"; port = 80; } ];
|
||||
user = "nextcloud";
|
||||
group = "nextcloud";
|
||||
};
|
||||
services.nginx.virtualHosts."192.168.100.15".listen = [ { addr = "0.0.0.0"; port = 80; } ];
|
||||
services.nextcloud = {
|
||||
enable = true;
|
||||
package = pkgs.nextcloud30;
|
||||
@@ -95,8 +91,7 @@
|
||||
dbtype = "mysql";
|
||||
};
|
||||
https = true;
|
||||
#datadir = "/etc/nextcloud/data";
|
||||
#home = "/etc/nextcloud/nextcloud_home";
|
||||
home = "/var/lib/nextcloud";
|
||||
#appstoreEnable = true;
|
||||
extraApps = with config.services.nextcloud.package.packages.apps; {
|
||||
inherit mail contacts calendar tasks user_oidc;
|
||||
|
||||
Reference in New Issue
Block a user