setup nextcloud
This commit is contained in:
parent
8e457614c9
commit
38c07d5531
4 changed files with 29 additions and 1 deletions
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue