always apply settings
This commit is contained in:
@@ -91,8 +91,8 @@ in {
|
|||||||
--admin-user "$DEFAULT_ADMIN_USERNAME" \
|
--admin-user "$DEFAULT_ADMIN_USERNAME" \
|
||||||
--admin-pass "$DEFAULT_ADMIN_PASSWORD"
|
--admin-pass "$DEFAULT_ADMIN_PASSWORD"
|
||||||
fi
|
fi
|
||||||
if [ -z "$INSTALLED" ] || [ -f "/tmp/force-nextcloud-setup" ]; then
|
#if [ -z "$INSTALLED" ] || [ -f "/tmp/force-nextcloud-setup" ]; then
|
||||||
rm -f "/tmp/force-nextcloud-setup"
|
# rm -f "/tmp/force-nextcloud-setup"
|
||||||
echo "Applying Settings..."
|
echo "Applying Settings..."
|
||||||
|
|
||||||
$OCC config:system:set trusted_domains 1 --value=${containerCfg.subdomain}.${serverCfg.domain}
|
$OCC config:system:set trusted_domains 1 --value=${containerCfg.subdomain}.${serverCfg.domain}
|
||||||
@@ -188,9 +188,9 @@ in {
|
|||||||
'') containerCfg.extra.federatedServers or [])}
|
'') containerCfg.extra.federatedServers or [])}
|
||||||
$OCC config:app:set systemtags allow_user_creating --value="no"
|
$OCC config:app:set systemtags allow_user_creating --value="no"
|
||||||
|
|
||||||
else
|
#else
|
||||||
echo "Nextcloud is already installed. Skipping setup."
|
# echo "Nextcloud is already installed. Skipping setup."
|
||||||
fi
|
#fi
|
||||||
|
|
||||||
echo "Applying Theme..."
|
echo "Applying Theme..."
|
||||||
$OCC config:app:set theming url --value="https://${containerCfg.subdomain}.${serverCfg.domain}"
|
$OCC config:app:set theming url --value="https://${containerCfg.subdomain}.${serverCfg.domain}"
|
||||||
|
|||||||
Reference in New Issue
Block a user