setup nextcloud
This commit is contained in:
parent
8e457614c9
commit
38c07d5531
|
@ -5,6 +5,7 @@
|
|||
./dashboard
|
||||
./microbin
|
||||
./multimedia
|
||||
./nextcloud
|
||||
];
|
||||
}
|
||||
|
||||
|
|
23
nixos/viridian/containers/nextcloud/default.nix
Normal file
23
nixos/viridian/containers/nextcloud/default.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -28,6 +28,11 @@
|
|||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/srv/nextcloud" =
|
||||
{ device = "/dev/disk/by-uuid/443fcb5a-b814-4d33-8cfb-93f6ff4aca11";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
|
||||
swapDevices = [ ];
|
||||
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
./home-assistant
|
||||
./httpd
|
||||
./minecraft-server
|
||||
./nextcloud
|
||||
./traefik
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue