1

Add nextcloud cron runner

This commit is contained in:
2023-12-03 17:25:55 +01:00
parent 6864a93884
commit 75c2a8a9a1

View File

@ -95,4 +95,28 @@
"--net=behind-nginx"
];
};
virtualisation.oci-containers.containers.nextcloud-cronjob = {
image = "rcdailey/nextcloud-cronjob";
autoStart = true;
dependsOn = [
"nextcloud"
];
ports = [];
volumes = [
"/etc/localtime:/etc/localtime:ro"
"/var/run/docker.sock:/var/run/docker.sock:ro"
];
environment = {
NEXTCLOUD_CONTAINER_NAME = "nextcloud";
};
extraOptions = [
"--net=behind-nginx"
];
};
}