setup nextcloud

This commit is contained in:
♥ Minnie ♥ 2023-12-19 09:21:33 +08:00
parent 8e457614c9
commit 38c07d5531
4 changed files with 29 additions and 1 deletions

View file

@ -5,6 +5,7 @@
./dashboard
./microbin
./multimedia
./nextcloud
];
}

View file

@ -0,0 +1,23 @@
{ ... }:
{
virtualisation.oci-containers.containers = {
nextcloud-aio-mastercontainer = {
autoStart = true;
image = "nextcloud/all-in-one: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 = "/srv/nextcloud";
APACHE_PORT = "11000";
APACHE_IP_BINDING = "0.0.0.0";
};
};
};
}