all-in-one/Containers/nextcloud/config/apps.config.php
Simon L. 99117072ce nextcloud: allow to configure custom appstoreurl
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-07-24 13:40:49 +02:00

21 lines
583 B
PHP

<?php
$CONFIG = array (
'apps_paths' => array (
0 => array (
'path' => '/var/www/html/apps',
'url' => '/apps',
'writable' => false,
),
1 => array (
'path' => '/var/www/html/custom_apps',
'url' => '/custom_apps',
'writable' => true,
),
),
);
if (getenv('APPS_ALLOWLIST')) {
$CONFIG['appsallowlist'] = explode(" ", getenv('APPS_ALLOWLIST'));
}
if (getenv('NEXTCLOUD_APP_STORE_URL')) {
$CONFIG['appstoreurl'] = getenv('NEXTCLOUD_APP_STORE_URL');
}