Temporary fix for cron bug of NC 21.0

master
Meliurwen 4 years ago
parent 3e49778388
commit 655fb5087a
Signed by: meliurwen
GPG Key ID: 818A8B35E9F1CE10
  1. 2
      Dockerfile
  2. 4
      nextcloud.env.example

@ -8,7 +8,7 @@ RUN apt-get -q update && \
apt-get -qq install \
cron \
nano-tiny && \
echo "*/5 * * * * su - www-data -s /bin/bash -c \"php -f /var/www/html/cron.php\"" | crontab - && \
echo "*/5 * * * * su - www-data -s /bin/bash -c \"php -d memory_limit=-1 -f /var/www/html/cron.php\"" | crontab - && \
sed -i '2 i\service cron start' /entrypoint.sh && \
apt-get purge -y nano-tiny && \
rm -rf /var/lib/apt/lists/* && \

@ -4,6 +4,10 @@ NEXTCLOUD_ADMIN_PASSWORD=
NEXTCLOUD_DATA_DIR=/var/www/html/data
NEXTCLOUD_TABLE_PREFIX=nc_
# PHP
PHP_MEMORY_LIMIT=512M
PHP_UPLOAD_LIMIT=1024M
# Reverse-proxy and certbot
VIRTUAL_HOST=subdomain.domain.tld
VIRTUAL_PORT=80

Loading…
Cancel
Save