Update to NixOS 21.11 #54

Manually merged
tlater merged 5 commits from tlater/21.11 into master 2022-01-08 02:20:03 +00:00
Showing only changes of commit 90926e2eee - Show all commits

View file

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