diff --git a/configuration/services/nextcloud.nix b/configuration/services/nextcloud.nix index f8a0f08..d4a7fe5 100644 --- a/configuration/services/nextcloud.nix +++ b/configuration/services/nextcloud.nix @@ -11,6 +11,7 @@ image = "nextcloud:fpm-alpine"; dependsOn = [ "postgres" ]; volumes = [ + "nextcloud-root:/var/www/html" "nextcloud-apps:/var/www/html/custom_apps" "nextcloud-config:/var/www/html/config" "nextcloud-data:/var/www/html/data" @@ -34,8 +35,10 @@ nginx = { image = "nginx:alpine"; dependsOn = [ "nextcloud" ]; - volumes = - [ "${./configs/nginx-nextcloud.conf}:/etc/nginx/nginx.conf:ro" ]; + volumes = [ + "nextcloud-root:/var/www/html:ro" + "${./configs/nginx-nextcloud.conf}:/etc/nginx/nginx.conf:ro" + ]; extraOptions = [ "--volumes-from=nextcloud-nextcloud" ]; };