From 7d15e4c60b5422060e6bde9af60d864a52a6ac09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristan=20Dani=C3=ABl=20Maat?= Date: Tue, 29 Sep 2020 12:57:04 +0100 Subject: [PATCH] Add the nextcloud cron service This is necessary for some apps to work, in this instance it is being enabled for the news app. --- etc/nixos/services/nextcloud.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/etc/nixos/services/nextcloud.nix b/etc/nixos/services/nextcloud.nix index 76d0a5f..c4c57dd 100644 --- a/etc/nixos/services/nextcloud.nix +++ b/etc/nixos/services/nextcloud.nix @@ -25,6 +25,16 @@ ]; }; + nextcloud-cron = { + image = "nextcloud:fpm-alpine"; + entrypoint = "/cron.sh"; + dependsOn = ["nextcloud-postgres"]; + extraDockerOptions = [ + "--volumes-from" + "nextcloud" + ]; + }; + nextcloud-nginx = { image = "nginx:alpine"; dependsOn = ["nextcloud"];