2023-03-27 11:03:37 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: ConfigMap
|
|
|
|
metadata:
|
|
|
|
name: nextcloud-configmap
|
|
|
|
data:
|
|
|
|
config.php: |
|
|
|
|
<?php
|
|
|
|
$CONFIG = array (
|
2023-04-04 06:43:09 +00:00
|
|
|
'app_install_overwrite' =>
|
2023-03-27 11:03:37 +00:00
|
|
|
array (
|
2023-04-04 06:43:09 +00:00
|
|
|
0 => 'globalsiteselector',
|
2023-03-27 11:03:37 +00:00
|
|
|
),
|
2023-04-04 06:43:09 +00:00
|
|
|
'apps_paths' =>
|
2023-03-27 11:03:37 +00:00
|
|
|
array (
|
2023-04-04 06:43:09 +00:00
|
|
|
0 =>
|
|
|
|
array (
|
|
|
|
'path' => '/var/www/html/apps',
|
|
|
|
'url' => '/apps',
|
|
|
|
'writable' => false,
|
|
|
|
),
|
|
|
|
1 =>
|
|
|
|
array (
|
|
|
|
'path' => '/var/www/html/custom_apps',
|
|
|
|
'url' => '/custom_apps',
|
|
|
|
'writable' => true,
|
|
|
|
),
|
2023-03-27 11:03:37 +00:00
|
|
|
),
|
2023-04-04 06:43:09 +00:00
|
|
|
'appstoreenabled' => false,
|
2024-10-01 09:17:41 +00:00
|
|
|
'config_is_read_only' => false,
|
2023-04-04 06:43:09 +00:00
|
|
|
'csrf.disabled' => true,
|
2023-03-27 11:03:37 +00:00
|
|
|
'datadirectory' => '/var/www/html/data',
|
|
|
|
'dbhost' => '{{MYSQL_HOST}}:{{MYSQL_PORT}}',
|
|
|
|
'dbname' => '{{MYSQL_DATABASE}}',
|
|
|
|
'dbpassword' => '{{MYSQL_PASSWORD}}',
|
|
|
|
'dbport' => '{{MYSQL_PORT}}',
|
|
|
|
'dbtableprefix' => 'oc_',
|
|
|
|
'dbtype' => 'mysql',
|
|
|
|
'dbuser' => '{{MYSQL_USER}}',
|
2023-04-04 06:30:04 +00:00
|
|
|
'default_phone_region' => 'SE',
|
2023-04-04 06:43:09 +00:00
|
|
|
'forcessl' => true,
|
2023-03-27 11:03:37 +00:00
|
|
|
'gs.enabled' => 'true',
|
|
|
|
'gs.federation' => 'global',
|
|
|
|
'gs.trustedHosts' => ['*.sunet.se'],
|
|
|
|
'gss.jwt.key' => '{{GSS_JWT_KEY}}',
|
|
|
|
'gss.master.url' => '{{GSS_MASTER_URL}}',
|
|
|
|
'gss.mode' => 'slave',
|
|
|
|
'gss.user.discovery.module' => '\\OCA\\GlobalSiteSelector\\UserDiscoveryModules\\ManualUserMapping',
|
|
|
|
'installed' => true,
|
|
|
|
'instanceid' => '{{NEXTCLOUD_INSTANCEID}}',
|
2023-04-04 11:55:17 +00:00
|
|
|
'integrity.check.disabled' => true,
|
2023-03-27 11:03:37 +00:00
|
|
|
'log_type' => 'file',
|
|
|
|
'loglevel' => 0,
|
|
|
|
'lookup_server' => '{{LOOKUP_SERVER}}',
|
|
|
|
'mail_domain' => '{{MAIL_DOMAIN}}',
|
|
|
|
'mail_from_address' => '{{MAIL_FROM_ADDRESS}}',
|
|
|
|
'mail_sendmailmode' => 'smtp',
|
|
|
|
'mail_smtpauth' => 1,
|
|
|
|
'mail_smtpauthtype' => 'LOGIN',
|
|
|
|
'mail_smtphost' => '{{MAIL_SMTPHOST}}',
|
|
|
|
'mail_smtpmode' => 'smtp',
|
|
|
|
'mail_smtpname' => '{{MAIL_SMTPNAME}}',
|
|
|
|
'mail_smtppassword' => '{{MAIL_SMTPPASSWORD}}',
|
|
|
|
'mail_smtpport' => '587',
|
|
|
|
'mail_smtpsecure' => 'tls',
|
|
|
|
'mail_template_class' => 'OCA\DriveEmailTemplate\EMailTemplate',
|
2023-04-04 06:43:09 +00:00
|
|
|
'memcache.distributed' => '\\OC\\Memcache\\Redis',
|
|
|
|
'memcache.local' => '\\OC\\Memcache\\APCu',
|
|
|
|
'memcache.locking' => '\\OC\\Memcache\\Redis',
|
2023-03-27 11:03:37 +00:00
|
|
|
'mysql.utf8mb4' => true,
|
2023-04-04 06:43:09 +00:00
|
|
|
'objectstore' =>
|
|
|
|
array (
|
|
|
|
'class' => '\\OC\\Files\\ObjectStore\\S3',
|
|
|
|
'arguments' =>
|
|
|
|
array (
|
|
|
|
'autocreate' => false,
|
|
|
|
'bucket' => '{{OBJECTSTORE_S3_BUCKET}}',
|
|
|
|
'hostname' => '{{OBJECTSTORE_S3_HOST}}',
|
|
|
|
'key' => '{{OBJECTSTORE_S3_KEY}}',
|
|
|
|
'legacy_auth' => false,
|
|
|
|
'objectPrefix' => 'urn:oid:',
|
|
|
|
'port' => '',
|
|
|
|
'region' => '{{OBJECTSTORE_S3_REGION}}',
|
|
|
|
'secret' => '{{OBJECTSTORE_S3_SECRET}}',
|
|
|
|
'use_path_style' => true,
|
|
|
|
'use_ssl' => true,
|
|
|
|
),
|
|
|
|
),
|
2023-03-27 11:03:37 +00:00
|
|
|
'overwrite.cli.url' => 'https://{{SITE_NAME}}',
|
2023-04-04 06:43:09 +00:00
|
|
|
'overwritehost' => '{{SITE_NAME}}',
|
|
|
|
'overwriteprotocol' => 'https',
|
|
|
|
'passwordsalt' => '{{NEXTCLOUD_PASSWORDSALT}}',
|
|
|
|
'secret' => '{{NEXTCLOUD_SECRET}}',
|
|
|
|
'redis' =>
|
|
|
|
array (
|
|
|
|
'host' => '{{REDIS_HOST}}',
|
|
|
|
'port' => 6379,
|
|
|
|
),
|
2023-03-27 11:03:37 +00:00
|
|
|
'skeletondirectory' => '',
|
2023-04-04 06:43:09 +00:00
|
|
|
'templatedirectory' => '',
|
|
|
|
'trusted_domains' =>
|
|
|
|
array (
|
|
|
|
0 => '{{NEXTCLOUD_TRUSTED_DOMAINS}}'
|
|
|
|
),
|
|
|
|
'trusted_proxies' =>
|
|
|
|
array (
|
|
|
|
0 => '10.0.0.0/8'
|
|
|
|
),
|
2023-03-27 11:03:37 +00:00
|
|
|
'twofactor_enforced' => 'true',
|
|
|
|
'twofactor_enforced_groups' =>
|
2023-04-04 06:43:09 +00:00
|
|
|
array (
|
|
|
|
0 => 'admin',
|
|
|
|
),
|
2023-04-04 11:55:17 +00:00
|
|
|
'updatechecker' => false,
|
2023-03-27 11:03:37 +00:00
|
|
|
'version' => '{{NEXTCLOUD_VERSION_STRING}}',
|
|
|
|
);
|