0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-03-15 19:05:09 +01:00

added overwrite.cli.url

Signed-off-by: clickkiddie <clickkiddie@github.com>
Signed-off-by: clickkiddie <44850680+clickkiddie@users.noreply.github.com>
This commit is contained in:
clickkiddie 2019-10-13 11:04:43 +00:00 committed by clickkiddie
parent 8baa54f16a
commit b1134946ca
11 changed files with 41 additions and 0 deletions

View file

@ -164,5 +164,9 @@ if [ -n "${NEXTCLOUD_OVERWRITEWEBROOT+x}" ]; then
echo "setting overwritewebroot…" echo "setting overwritewebroot…"
run_as "php /var/www/html/occ config:system:set overwritewebroot --value=$NEXTCLOUD_OVERWRITEWEBROOT" run_as "php /var/www/html/occ config:system:set overwritewebroot --value=$NEXTCLOUD_OVERWRITEWEBROOT"
fi fi
if [ -n "${NEXTCLOUD_OVERWRITE_CLI_URL+x}" ]; then
echo "setting overwrite.cli.url"
run_as "php /var/www/html/occ config:system:set overwrite.cli.url --value=$NEXTCLOUD_OVERWRITE_CLI_URL"
fi
exec "$@" exec "$@"

View file

@ -164,5 +164,9 @@ if [ -n "${NEXTCLOUD_OVERWRITEWEBROOT+x}" ]; then
echo "setting overwritewebroot…" echo "setting overwritewebroot…"
run_as "php /var/www/html/occ config:system:set overwritewebroot --value=$NEXTCLOUD_OVERWRITEWEBROOT" run_as "php /var/www/html/occ config:system:set overwritewebroot --value=$NEXTCLOUD_OVERWRITEWEBROOT"
fi fi
if [ -n "${NEXTCLOUD_OVERWRITE_CLI_URL+x}" ]; then
echo "setting overwrite.cli.url"
run_as "php /var/www/html/occ config:system:set overwrite.cli.url --value=$NEXTCLOUD_OVERWRITE_CLI_URL"
fi
exec "$@" exec "$@"

View file

@ -164,5 +164,9 @@ if [ -n "${NEXTCLOUD_OVERWRITEWEBROOT+x}" ]; then
echo "setting overwritewebroot…" echo "setting overwritewebroot…"
run_as "php /var/www/html/occ config:system:set overwritewebroot --value=$NEXTCLOUD_OVERWRITEWEBROOT" run_as "php /var/www/html/occ config:system:set overwritewebroot --value=$NEXTCLOUD_OVERWRITEWEBROOT"
fi fi
if [ -n "${NEXTCLOUD_OVERWRITE_CLI_URL+x}" ]; then
echo "setting overwrite.cli.url"
run_as "php /var/www/html/occ config:system:set overwrite.cli.url --value=$NEXTCLOUD_OVERWRITE_CLI_URL"
fi
exec "$@" exec "$@"

View file

@ -164,5 +164,9 @@ if [ -n "${NEXTCLOUD_OVERWRITEWEBROOT+x}" ]; then
echo "setting overwritewebroot…" echo "setting overwritewebroot…"
run_as "php /var/www/html/occ config:system:set overwritewebroot --value=$NEXTCLOUD_OVERWRITEWEBROOT" run_as "php /var/www/html/occ config:system:set overwritewebroot --value=$NEXTCLOUD_OVERWRITEWEBROOT"
fi fi
if [ -n "${NEXTCLOUD_OVERWRITE_CLI_URL+x}" ]; then
echo "setting overwrite.cli.url"
run_as "php /var/www/html/occ config:system:set overwrite.cli.url --value=$NEXTCLOUD_OVERWRITE_CLI_URL"
fi
exec "$@" exec "$@"

View file

@ -164,5 +164,9 @@ if [ -n "${NEXTCLOUD_OVERWRITEWEBROOT+x}" ]; then
echo "setting overwritewebroot…" echo "setting overwritewebroot…"
run_as "php /var/www/html/occ config:system:set overwritewebroot --value=$NEXTCLOUD_OVERWRITEWEBROOT" run_as "php /var/www/html/occ config:system:set overwritewebroot --value=$NEXTCLOUD_OVERWRITEWEBROOT"
fi fi
if [ -n "${NEXTCLOUD_OVERWRITE_CLI_URL+x}" ]; then
echo "setting overwrite.cli.url"
run_as "php /var/www/html/occ config:system:set overwrite.cli.url --value=$NEXTCLOUD_OVERWRITE_CLI_URL"
fi
exec "$@" exec "$@"

View file

@ -164,5 +164,9 @@ if [ -n "${NEXTCLOUD_OVERWRITEWEBROOT+x}" ]; then
echo "setting overwritewebroot…" echo "setting overwritewebroot…"
run_as "php /var/www/html/occ config:system:set overwritewebroot --value=$NEXTCLOUD_OVERWRITEWEBROOT" run_as "php /var/www/html/occ config:system:set overwritewebroot --value=$NEXTCLOUD_OVERWRITEWEBROOT"
fi fi
if [ -n "${NEXTCLOUD_OVERWRITE_CLI_URL+x}" ]; then
echo "setting overwrite.cli.url"
run_as "php /var/www/html/occ config:system:set overwrite.cli.url --value=$NEXTCLOUD_OVERWRITE_CLI_URL"
fi
exec "$@" exec "$@"

View file

@ -164,5 +164,9 @@ if [ -n "${NEXTCLOUD_OVERWRITEWEBROOT+x}" ]; then
echo "setting overwritewebroot…" echo "setting overwritewebroot…"
run_as "php /var/www/html/occ config:system:set overwritewebroot --value=$NEXTCLOUD_OVERWRITEWEBROOT" run_as "php /var/www/html/occ config:system:set overwritewebroot --value=$NEXTCLOUD_OVERWRITEWEBROOT"
fi fi
if [ -n "${NEXTCLOUD_OVERWRITE_CLI_URL+x}" ]; then
echo "setting overwrite.cli.url"
run_as "php /var/www/html/occ config:system:set overwrite.cli.url --value=$NEXTCLOUD_OVERWRITE_CLI_URL"
fi
exec "$@" exec "$@"

View file

@ -164,5 +164,9 @@ if [ -n "${NEXTCLOUD_OVERWRITEWEBROOT+x}" ]; then
echo "setting overwritewebroot…" echo "setting overwritewebroot…"
run_as "php /var/www/html/occ config:system:set overwritewebroot --value=$NEXTCLOUD_OVERWRITEWEBROOT" run_as "php /var/www/html/occ config:system:set overwritewebroot --value=$NEXTCLOUD_OVERWRITEWEBROOT"
fi fi
if [ -n "${NEXTCLOUD_OVERWRITE_CLI_URL+x}" ]; then
echo "setting overwrite.cli.url"
run_as "php /var/www/html/occ config:system:set overwrite.cli.url --value=$NEXTCLOUD_OVERWRITE_CLI_URL"
fi
exec "$@" exec "$@"

View file

@ -164,5 +164,9 @@ if [ -n "${NEXTCLOUD_OVERWRITEWEBROOT+x}" ]; then
echo "setting overwritewebroot…" echo "setting overwritewebroot…"
run_as "php /var/www/html/occ config:system:set overwritewebroot --value=$NEXTCLOUD_OVERWRITEWEBROOT" run_as "php /var/www/html/occ config:system:set overwritewebroot --value=$NEXTCLOUD_OVERWRITEWEBROOT"
fi fi
if [ -n "${NEXTCLOUD_OVERWRITE_CLI_URL+x}" ]; then
echo "setting overwrite.cli.url"
run_as "php /var/www/html/occ config:system:set overwrite.cli.url --value=$NEXTCLOUD_OVERWRITE_CLI_URL"
fi
exec "$@" exec "$@"

View file

@ -138,6 +138,7 @@ Reverse proxy configuration according to [Admin Manual](https://docs.nextcloud.c
- `NEXTCLOUD_OVERWRITEPROTOCOL` (not set by default) Optional overwriteprotocol (e.g. https) - `NEXTCLOUD_OVERWRITEPROTOCOL` (not set by default) Optional overwriteprotocol (e.g. https)
- `NEXTCLOUD_OVERWRITEHOST` (not set by default) Optional overwritehost (e.g. nextcloud.examle.com) - `NEXTCLOUD_OVERWRITEHOST` (not set by default) Optional overwritehost (e.g. nextcloud.examle.com)
- `NEXTCLOUD_OVERWRITEWEBROOT` (not set by default) Optional overwritewebroot (e.g. /cloud) - `NEXTCLOUD_OVERWRITEWEBROOT` (not set by default) Optional overwritewebroot (e.g. /cloud)
- `NEXTCLOUD_OVERWRITE_CLI_URL` (not set by default) Optional overwrite.cli.url (e.g. https://example.com/cloud)
The install and update script is only triggered when a default command is used (`apache-foreground` or `php-fpm`). If you use a custom command you have to enable the install / update with The install and update script is only triggered when a default command is used (`apache-foreground` or `php-fpm`). If you use a custom command you have to enable the install / update with

View file

@ -164,5 +164,9 @@ if [ -n "${NEXTCLOUD_OVERWRITEWEBROOT+x}" ]; then
echo "setting overwritewebroot…" echo "setting overwritewebroot…"
run_as "php /var/www/html/occ config:system:set overwritewebroot --value=$NEXTCLOUD_OVERWRITEWEBROOT" run_as "php /var/www/html/occ config:system:set overwritewebroot --value=$NEXTCLOUD_OVERWRITEWEBROOT"
fi fi
if [ -n "${NEXTCLOUD_OVERWRITE_CLI_URL+x}" ]; then
echo "setting overwrite.cli.url"
run_as "php /var/www/html/occ config:system:set overwrite.cli.url --value=$NEXTCLOUD_OVERWRITE_CLI_URL"
fi
exec "$@" exec "$@"