mirror of
https://github.com/MetaProvide/nextcloud-swarm-plugin.git
synced 2025-01-11 21:59:13 +00:00
17 lines
565 B
Docker
17 lines
565 B
Docker
FROM nextcloud:23
|
|
|
|
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
|