nextcloud-swarm-plugin/docker/nextcloud/Dockerfile
2024-07-08 11:57:59 +02:00

20 lines
601 B
Docker
Executable file

FROM nextcloud:28.0.7
RUN pecl install xdebug; \
docker-php-ext-enable xdebug; \
mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"; \
{ \
echo "xdebug.mode = debug"; \
echo "xdebug.start_with_request = yes"; \
echo "xdebug.client_host=host.docker.internal"; \
echo "memory_limit=1024M"; \
echo "upload_max_filesize=16G"; \
echo "post_max_size=16G"; \
echo "max_execution_time=3600"; \
echo "max_input_time=3600"; \
} > /usr/local/etc/php/conf.d/nextcloud.ini;
ENV NEXTCLOUD_UPDATE=1
RUN mkdir /var/www/html/custom_apps
RUN chown www-data:www-data -R /var/www/html/custom_apps