diff --git a/docker-compose.yml b/docker-compose.yml index cdf5687..991efa4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,7 +4,7 @@ services: nextcloud: container_name: nextcloud-full - image: nextcloud:15.0.8 + image: nextcloud:16.0.6 build: ./docker/.examples/dockerfiles/full/apache/ restart: always networks: @@ -15,6 +15,7 @@ services: - "80/tcp" volumes: - nextcloud:/var/www/html:Z + - ./www-data:/var/spool/cron/crontabs/www-data networks: diff --git a/www-data b/www-data new file mode 100644 index 0000000..5c11678 --- /dev/null +++ b/www-data @@ -0,0 +1,2 @@ +*/15 * * * * php -f /var/www/html/cron.php +*/1 * * * * pgrep -af fulltextsearch | grep -qv grep || { php /var/www/html/occ fulltextsearch:index -q; php /var/www/html/occ fulltextsearch:live -q; }