diff --git a/docker-compose.yml b/docker-compose.yml index 232f566..416684d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -87,23 +87,24 @@ volumes: - ./data/app:/var/www/html - ./data/data:/srv/data - user: www-data + #user: www-data mem_limit: 256m logging: driver: json-file - entrypoint: | - bash -c 'bash -s <<EOF - trap "break;exit" SIGHUP SIGINT SIGTERM - - while [ ! -f /var/www/html/config/config.php ]; do - sleep 1 - done - - while true; do - php -f /var/www/html/cron.php - sleep 15m - done - EOF' + entrypoint: /cron.sh + #entrypoint: | + # bash -c 'bash -s <<EOF + # trap "break;exit" SIGHUP SIGINT SIGTERM + # + # while [ ! -f /var/www/html/config/config.php ]; do + # sleep 1 + # done + # + # while true; do + # php -f /var/www/html/cron.php + # sleep 15m + # done + # EOF' depends_on: - nextcloud-database - nextcloud-redis