nextcloud: externalize config

This commit is contained in:
Schneider Roland 2024-11-01 22:43:32 +01:00
parent bc932f3982
commit 7dbea8cf65
2 changed files with 5 additions and 5 deletions

View File

@ -22,10 +22,10 @@ $CONFIG = array (
'passwordsalt' => 'ZVrw83bYSVbcbGgczrEzKA1TybqGq3',
'secret' => 'PpPzzld91HkzSOmc010a/QZvPxH/pR5tOPLxNPmaJUl6gkno',
'trusted_domains' =>
array (
0 => 'nextcloud.rschneider.net',
1 => 'nextcloud.rschneider.hu',
),
array (
0 => 'nextcloud.rschneider.net',
1 => 'nextcloud.rschneider.hu',
),
'datadirectory' => '/var/www/html/data',
'dbtype' => 'mysql',
'version' => '30.0.0.14',

View File

@ -37,7 +37,7 @@ services:
- db
volumes:
- nextcloud:/var/www/html
- ./config.php:/var/www/html/config/config.php
- ./config.php:/var/www/html/config/config.php:rw
environment:
- MYSQL_PASSWORD=nextcloud
- MYSQL_DATABASE=nextcloud