mirror of
https://github.com/nextcloud/docker.git
synced 2025-06-17 08:34:48 +02:00
Rebase
This commit is contained in:
parent
31d7dedda9
commit
71a8f0ef64
14 changed files with 158 additions and 0 deletions
|
@ -90,7 +90,11 @@ RUN { \
|
|||
VOLUME /var/www/html
|
||||
|
||||
|
||||
<<<<<<< HEAD:15.0/fpm-alpine/Dockerfile
|
||||
ENV NEXTCLOUD_VERSION 15.0.0
|
||||
=======
|
||||
ENV NEXTCLOUD_VERSION 12.0.13
|
||||
>>>>>>> Add two parameters when Nextcloud is behind a proxy:12.0/fpm-alpine/Dockerfile
|
||||
|
||||
RUN set -ex; \
|
||||
apk add --no-cache --virtual .fetch-deps \
|
||||
|
|
|
@ -127,6 +127,20 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
|||
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -n "${NEXTCLOUD_OVERWRITEHOST+x}" ]; then
|
||||
echo "setting overwritehost…"
|
||||
run_as "php /var/www/html/occ config:system:set overwritehost --value=$NEXTCLOUD_OVERWRITEHOST"
|
||||
fi
|
||||
if [ -n "${NEXTCLOUD_OVERWRITEPROTOCOL+x}" ]; then
|
||||
echo "setting overwriteprotocol…"
|
||||
run_as "php /var/www/html/occ config:system:set overwriteprotocol --value=$NEXTCLOUD_OVERWRITEPROTOCOL"
|
||||
fi
|
||||
if [ -n "${NEXTCLOUD_OVERWRITEWEBROOT+x}" ]; then
|
||||
echo "setting overwritewebroot…"
|
||||
run_as "php /var/www/html/occ config:system:set overwritewebroot --value=$NEXTCLOUD_OVERWRITEWEBROOT"
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
exec "$@"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue