summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/autoconfig.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/autoconfig.php b/.config/autoconfig.php
index 52061ac3..7ff1d3ea 100644
--- a/.config/autoconfig.php
+++ b/.config/autoconfig.php
@@ -22,3 +22,8 @@ if (getenv('SQLITE_DATABASE')) {
if (getenv('NEXTCLOUD_DATA_DIR')) {
$AUTOCONFIG["directory"] = getenv('NEXTCLOUD_DATA_DIR');
}
+
+if (getenv('NEXTCLOUD_ADMIN_USER') && getenv('NEXTCLOUD_ADMIN_PASSWORD')) {
+ $AUTOCONFIG["adminlogin"] = getenv('NEXTCLOUD_ADMIN_USER');
+ $AUTOCONFIG["adminpass"] = getenv('NEXTCLOUD_ADMIN_PASSWORD');
+}