0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-06-17 16:44:46 +02:00

Add OVERWRITECLIURL env var

Signed-off-by: Klaus Frank <git@frank.fyi>
This commit is contained in:
Klaus Frank 2021-10-29 18:34:18 +02:00
parent 05d4746aa3
commit a90676372e
11 changed files with 51 additions and 0 deletions

View file

@ -9,6 +9,11 @@ if ($overwriteProtocol) {
$CONFIG['overwriteprotocol'] = $overwriteProtocol;
}
$overwriteCliUrl = getenv('OVERWRITECLIURL');
if ($overwriteCliUrl) {
$CONFIG['overwrite.cli.url'] = $overwriteCliUrl;
}
$overwriteWebRoot = getenv('OVERWRITEWEBROOT');
if ($overwriteWebRoot) {
$CONFIG['overwritewebroot'] = $overwriteWebRoot;