Merge pull request #219 from nextcloud/fix-docs

Move image name to the end
This commit is contained in:
Tilo Spannagel 2018-01-12 09:45:19 +01:00 committed by GitHub
commit 92b4b87a64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,16 +48,18 @@ To make your data persistent to upgrading and get access for backups is using na
Nextcloud: Nextcloud:
- `/var/www/html/` folder where all nextcloud data lives - `/var/www/html/` folder where all nextcloud data lives
```console ```console
$ docker run -d nextcloud \ $ docker run -d \
-v nextcloud:/var/www/html -v nextcloud:/var/www/html \
nextcloud
``` ```
Database: Database:
- `/var/lib/mysql` MySQL / MariaDB Data - `/var/lib/mysql` MySQL / MariaDB Data
- `/var/lib/postgresql/data` PostgreSQL Data - `/var/lib/postgresql/data` PostgreSQL Data
```console ```console
$ docker run -d mariadb \ $ docker run -d \
-v db:/var/lib/mysql -v db:/var/lib/mysql \
mariadb
``` ```
If you want to get fine grained access to your individual files, you can mount additional volumes for data, config, your theme and custom apps. If you want to get fine grained access to your individual files, you can mount additional volumes for data, config, your theme and custom apps.
@ -73,12 +75,13 @@ Overview of the folders that can be mounted as volumes:
If you want to use named volumes for all of these it would look like this If you want to use named volumes for all of these it would look like this
```console ```console
$ docker run -d nextcloud \ $ docker run -d \
-v nextcloud:/var/www/html \ -v nextcloud:/var/www/html \
-v apps:/var/www/html/custom_apps \ -v apps:/var/www/html/custom_apps \
-v config:/var/www/html/config \ -v config:/var/www/html/config \
-v data:/var/www/html/data \ -v data:/var/www/html/data \
-v theme:/var/www/html/themes/<YOUR_CUSTOM_THEME> -v theme:/var/www/html/themes/<YOUR_CUSTOM_THEME> \
nextcloud
``` ```
## Using the Nextcloud command-line interface ## Using the Nextcloud command-line interface