Working config looks like:
'instanceid' => 'foobarwhatsit',
'passwordsalt' => 'nope',
'secret' => 'also nope',
'trusted_domains' =>
array (
0 => 'my.domain',
),
'datadirectory' => '/var/www/nextcloud/data',
'dbtype' => 'pgsql',
'version' => '30.0.2.2',
'overwrite.cli.url' => 'https://my.domain',
'dbname' => 'nextcloud',
'dbhost' => '/var/run/postgresql',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'admin',
'dbpassword' => 'password',
'installed' => true,
'maintenance' => false,
'maintenance_window_start' => 1,
'memcache.locking' => '\\OC\\Memcache\\Redis',
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.local' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/run/redis/redis-server.sock',
'port' => 0,
'timeout' => 0.0,
),
'default_phone_region' => 'GB',
'mail_smtpmode' => 'sendmail',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => 'nextcloud',
'mail_domain' => 'my.domain',
'memories.db.triggers.fcu' => true,
'memories.exiftool' => '/var/www/nextcloud/apps/memories/bin-ext/exiftool-aarch64-glibc',
'memories.vod.path' => '/var/www/nextcloud/apps/memories/bin-ext/go-vod-aarch64',
'memories.vod.ffmpeg' => '/usr/bin/ffmpeg',
'memories.vod.ffprobe' => '/usr/bin/ffprobe',
'preview_concurrency_all' => 2,
'preview_concurrency_new' => 1,
'app_install_overwrite' =>
array (
0 => 'maps',
),
'memories.gis_type' => 2,
'trashbin_retention_obligation' => 'disabled',
'versions_retention_obligation' => 'disabled',
'loglevel' => 2,
'forbidden_filename_characters' =>
array (
0 => '\\',
1 => '/',
),
'forbidden_filename_extensions' =>
array (
0 => '.filepart',
1 => '.part',
),
'bulkupload.enabled' => false,
'memories.viewer.high_res_cond_default' => 'always',
'defaultapp' => '',