Added crontab for elasticsearch.

This commit is contained in:
yohan 2019-12-03 19:23:41 +01:00
parent ea7cb5b70c
commit 2a9d9b80d8
2 changed files with 4 additions and 1 deletions

View File

@ -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:

2
www-data Normal file
View File

@ -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; }