1
0
mirror of https://github.com/nextcloud/docker.git synced 2024-06-26 00:59:01 +02:00

Runs update.sh

This commit is contained in:
GitHub Workflow 2023-09-16 22:51:59 +00:00
parent 90064ed260
commit 3fa92257f9
3 changed files with 42 additions and 21 deletions

View File

@ -121,15 +121,22 @@ RUN { \
VOLUME /var/www/html VOLUME /var/www/html
RUN a2enmod headers rewrite remoteip ;\ RUN a2enmod headers rewrite remoteip ; \
{\ { \
echo RemoteIPHeader X-Real-IP ;\ echo 'RemoteIPHeader X-Real-IP'; \
echo RemoteIPInternalProxy 10.0.0.0/8 ;\ echo 'RemoteIPInternalProxy 10.0.0.0/8'; \
echo RemoteIPInternalProxy 172.16.0.0/12 ;\ echo 'RemoteIPInternalProxy 172.16.0.0/12'; \
echo RemoteIPInternalProxy 192.168.0.0/16 ;\ echo 'RemoteIPInternalProxy 192.168.0.0/16'; \
} > /etc/apache2/conf-available/remoteip.conf;\ } > /etc/apache2/conf-available/remoteip.conf; \
a2enconf remoteip a2enconf remoteip
# set apache config LimitRequestBody
ENV APACHE_BODY_LIMIT 1073741824
RUN { \
echo 'LimitRequestBody ${APACHE_BODY_LIMIT}'; \
} > /etc/apache2/conf-available/apache-limits.conf; \
a2enconf apache-limits
ENV NEXTCLOUD_VERSION 25.0.11 ENV NEXTCLOUD_VERSION 25.0.11
RUN set -ex; \ RUN set -ex; \

View File

@ -122,15 +122,22 @@ RUN { \
VOLUME /var/www/html VOLUME /var/www/html
RUN a2enmod headers rewrite remoteip ;\ RUN a2enmod headers rewrite remoteip ; \
{\ { \
echo RemoteIPHeader X-Real-IP ;\ echo 'RemoteIPHeader X-Real-IP'; \
echo RemoteIPInternalProxy 10.0.0.0/8 ;\ echo 'RemoteIPInternalProxy 10.0.0.0/8'; \
echo RemoteIPInternalProxy 172.16.0.0/12 ;\ echo 'RemoteIPInternalProxy 172.16.0.0/12'; \
echo RemoteIPInternalProxy 192.168.0.0/16 ;\ echo 'RemoteIPInternalProxy 192.168.0.0/16'; \
} > /etc/apache2/conf-available/remoteip.conf;\ } > /etc/apache2/conf-available/remoteip.conf; \
a2enconf remoteip a2enconf remoteip
# set apache config LimitRequestBody
ENV APACHE_BODY_LIMIT 1073741824
RUN { \
echo 'LimitRequestBody ${APACHE_BODY_LIMIT}'; \
} > /etc/apache2/conf-available/apache-limits.conf; \
a2enconf apache-limits
ENV NEXTCLOUD_VERSION 26.0.6 ENV NEXTCLOUD_VERSION 26.0.6
RUN set -ex; \ RUN set -ex; \

View File

@ -122,15 +122,22 @@ RUN { \
VOLUME /var/www/html VOLUME /var/www/html
RUN a2enmod headers rewrite remoteip ;\ RUN a2enmod headers rewrite remoteip ; \
{\ { \
echo RemoteIPHeader X-Real-IP ;\ echo 'RemoteIPHeader X-Real-IP'; \
echo RemoteIPInternalProxy 10.0.0.0/8 ;\ echo 'RemoteIPInternalProxy 10.0.0.0/8'; \
echo RemoteIPInternalProxy 172.16.0.0/12 ;\ echo 'RemoteIPInternalProxy 172.16.0.0/12'; \
echo RemoteIPInternalProxy 192.168.0.0/16 ;\ echo 'RemoteIPInternalProxy 192.168.0.0/16'; \
} > /etc/apache2/conf-available/remoteip.conf;\ } > /etc/apache2/conf-available/remoteip.conf; \
a2enconf remoteip a2enconf remoteip
# set apache config LimitRequestBody
ENV APACHE_BODY_LIMIT 1073741824
RUN { \
echo 'LimitRequestBody ${APACHE_BODY_LIMIT}'; \
} > /etc/apache2/conf-available/apache-limits.conf; \
a2enconf apache-limits
ENV NEXTCLOUD_VERSION 27.1.0 ENV NEXTCLOUD_VERSION 27.1.0
RUN set -ex; \ RUN set -ex; \