nextcloud: externalize config
This commit is contained in:
parent
4b8aad02bc
commit
9e04df73b8
@ -1,2 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
chown www-data:www-data /var/www/html/config/config.php
|
|
||||||
@ -1,42 +0,0 @@
|
|||||||
<?php
|
|
||||||
$CONFIG = array (
|
|
||||||
'htaccess.RewriteBase' => '/',
|
|
||||||
'memcache.local' => '\\OC\\Memcache\\APCu',
|
|
||||||
'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,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
'upgrade.disable-web' => true,
|
|
||||||
'instanceid' => 'oct33spivb8j',
|
|
||||||
'passwordsalt' => 'ZVrw83bYSVbcbGgczrEzKA1TybqGq3',
|
|
||||||
'secret' => 'PpPzzld91HkzSOmc010a/QZvPxH/pR5tOPLxNPmaJUl6gkno',
|
|
||||||
'trusted_domains' =>
|
|
||||||
array (
|
|
||||||
0 => 'nextcloud.rschneider.net',
|
|
||||||
1 => 'nextcloud.rschneider.hu',
|
|
||||||
),
|
|
||||||
'datadirectory' => '/var/www/html/data',
|
|
||||||
'dbtype' => 'mysql',
|
|
||||||
'version' => '30.0.0.14',
|
|
||||||
'overwrite.cli.url' => 'https://nextcloud.rschneider.net',
|
|
||||||
'overwriteprotocol' => 'https',
|
|
||||||
'dbname' => 'nextcloud',
|
|
||||||
'dbhost' => 'db',
|
|
||||||
'dbport' => '',
|
|
||||||
'dbtableprefix' => 'oc_',
|
|
||||||
'mysql.utf8mb4' => true,
|
|
||||||
'dbuser' => 'nextcloud',
|
|
||||||
'dbpassword' => 'nextcloud',
|
|
||||||
'installed' => true,
|
|
||||||
);
|
|
||||||
@ -37,8 +37,6 @@ services:
|
|||||||
- db
|
- db
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud:/var/www/html
|
- nextcloud:/var/www/html
|
||||||
#- ./config.php:/var/www/html/config/config.php:rw
|
|
||||||
#- ./app-hooks/before-starting:/docker-entrypoint-hooks.d/before-starting
|
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_PASSWORD=nextcloud
|
- MYSQL_PASSWORD=nextcloud
|
||||||
- MYSQL_DATABASE=nextcloud
|
- MYSQL_DATABASE=nextcloud
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user