mirror of
https://github.com/MetaProvide/nextcloud-swarm-plugin.git
synced 2024-11-21 23:58:59 +00:00
1a58d8a2ff
* Feature/onlyoffice (#76) * feat(onlyoffice): - add: service container - add: app installation * feat(docker): - update: merge all version Dockerfiles into one - update: create Dockerfile for rsycn - add: docker proxy internal setup - update: hooks orders and scripts * feat(nginx): - update: nginx.conf * Bug fix/#904 file actions reload fix unview fix two actions for visual (#78) * Chaging t('files to t('files_external_ethswarm Fixing unview file and folder message Adding hejbit overlay and swarmref action to all files and folders to "support" NC fileactions navigation bug * Option with two separate file actions (Overlay and CopySwarm Ref) * Improving reload logic * Fixing Exec Batch Error - Now it's possible to select the action from the top file menu * FIX - Improved Fileaction reload fix * Fixing Unview file on NC29 & NC30 Organizing TODOs in Fileaction * fix(904): previousPathHasSwarm to check with the first file available on index 0 instead --------- Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> * Update info.xml --------- Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> Co-authored-by: JoaoSRaposo <joaosraposo@gmail.com>
36 lines
990 B
Docker
Executable File
36 lines
990 B
Docker
Executable File
ARG NC_VERSION
|
|
FROM nextcloud:${NC_VERSION}-fpm-alpine AS base
|
|
|
|
ENV NEXTCLOUD_UPDATE=1
|
|
|
|
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"; \
|
|
{ \
|
|
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;
|
|
|
|
RUN mkdir -p /var/www/html/custom_apps && \
|
|
chown -R www-data:www-data /var/www/html/custom_apps
|
|
|
|
|
|
FROM base AS production
|
|
|
|
COPY --chown=www-data ./hooks /docker-entrypoint-hooks.d
|
|
|
|
|
|
FROM base AS development
|
|
|
|
RUN apk add --update --no-cache linux-headers $PHPIZE_DEPS;
|
|
RUN pecl install xdebug && docker-php-ext-enable xdebug;
|
|
RUN { \
|
|
echo "xdebug.mode=develop,debug"; \
|
|
echo "xdebug.start_with_request=trigger"; \
|
|
echo "xdebug.discover_client_host=true"; \
|
|
echo "xdebug.client_host=host.docker.internal"; \
|
|
} >> /usr/local/etc/php/conf.d/nextcloud.ini;
|
|
|
|
COPY --chown=www-data ./hooks /docker-entrypoint-hooks.d
|