move back data to /data

This commit is contained in:
Wonderfall 2021-04-28 17:32:12 +02:00
parent 5b617e80c2
commit c9ad140a79
2 changed files with 3 additions and 3 deletions

View File

@ -132,7 +132,7 @@ USER nextcloud
WORKDIR /nextcloud
VOLUME /nextcloud/data /nextcloud/config /nextcloud/apps2 /nextcloud/themes
VOLUME /data /nextcloud/config /nextcloud/apps2 /nextcloud/themes
EXPOSE 8888

View File

@ -8,7 +8,7 @@ instanceid=oc$(openssl rand -hex 6 | head -c 10)
cat > $CONFIGFILE <<EOF;
<?php
\$CONFIG = array (
'datadirectory' => '/nextcloud/data',
'datadirectory' => '/data',
"apps_paths" => array (
0 => array (
@ -36,7 +36,7 @@ cat > /nextcloud/config/autoconfig.php <<EOF;
<?php
\$AUTOCONFIG = array (
# storage/database
'directory' => '/nextcloud/data',
'directory' => '/data',
'dbtype' => '${DB_TYPE:-sqlite3}',
'dbname' => '${DB_NAME:-nextcloud}',
'dbuser' => '${DB_USER:-nextcloud}',