From 1751e7609a497858c083b8ebf8da7dbf9813ab9b Mon Sep 17 00:00:00 2001 From: Wonderfall Date: Sat, 30 Apr 2016 19:24:02 +0200 Subject: [PATCH] Update README.md --- owncloud/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/owncloud/README.md b/owncloud/README.md index 6b9a92a..1c8bc96 100644 --- a/owncloud/README.md +++ b/owncloud/README.md @@ -51,7 +51,7 @@ Hey, you should add the following code to your config.php in order to enable app You have to use an external database container, it is thus allowing better security and less complexity. I suggest you to use MariaDB, which is a reliable database server. For instance, you can use the official `mariadb` image available as an automated build that you can find on Docker Hub. Since sqlite is supected by ownCloud to cause some troubles with sync clients, sqlite databases are not suported. #### Once runned! -Go to your ownCloud instance, change `/ocwww/data` to `/data` (recommended), and fill in all the fields to configure your database. +Go to your ownCloud instance, change `/ocwww/data` to `/data` (recommended), and fill in all the fields to configure your database. Don't forget to type a strong password. You should also avoid to name your admin account "admin". #### Configure When you mount `/config`, you don't really mount `/ocwww/owncloud/config`. `/config` should contain `config.php`, although this is not the one actually used by ownCloud. However, each time you restart the container, `/config/config.php` overwrites `/ocwww/config/config.php`. Before that, `/ocwww/config/config.php` is copied as `/config/config.php.bkp`, so you can easily revert changes. @@ -61,7 +61,7 @@ Now, ownCloud should be 100% functionnal. APCu can be enabled if you set it corr *config.php parameters can be found [here](https://doc.owncloud.org/server/9.0/admin_manual/configuration_server/config_sample_php_parameters.html) and [there](https://doc.owncloud.org/server/9.0/admin_manual/installation/apps_management_installation.html)* This is espacially useful when you're using a reverse proxy, and/or if you'd like to keep your 3rd-party plugins across updates (you should use the /apps volume to do that). **READ THE DOCUMENTATION.** #### How do I update? -Just pull the newer image, and recreate the container. As you may know, backups are highly recommended (don't fear that, Docker just makes things a lot easier!), and even if it's boring, do it, do it, do it! There should be no issue with config.php, but if you see the setup screen, don't panic (your volumes should be intact...) and just restart the container and check `/ocwww/config/config.php`. The version directive in your `/config/config.php` is automatically updated with the one eventually generated by ownCloud after an upgrade. +Just pull the newer image, and recreate the container. As you may know, backups are highly recommended (don't fear that, Docker just makes things a lot easier!), and even if it's boring, do it, do it, do it! The version directive in your `/config/config.php` is automatically updated with the one eventually generated by ownCloud after an upgrade. #### Enable APCU Add this line to your config.php :