fix references to the `` volume

This commit is contained in:
Sameer Naik 2017-01-19 18:21:51 +05:30
parent 20c606c1ab
commit 817b09fc10
1 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ Then you can access your application at http://your-ip/
## Persisting your application
If you remove every container and volume all your data will be lost, and the next time you run the image the application will be reinitialized. To avoid this loss of data, you should mount a volume that will persist even after the container is removed. If you are using docker-compose your data will be persistent as long as you don't remove `mariadb_data` and `application_data` data volumes. If you have run the containers manually or you want to mount the folders with persistent data in your host follow the next steps:
If you remove every container and volume all your data will be lost, and the next time you run the image the application will be reinitialized. To avoid this loss of data, you should mount a volume that will persist even after the container is removed. If you are using docker-compose your data will be persistent as long as you don't remove `mariadb_data` and `dokuwiki_data` data volumes. If you have run the containers manually or you want to mount the folders with persistent data in your host follow the next steps:
> **Note!** If you have already started using your application, follow the steps on [backing](#backing-up-your-application) up to pull the data from your running container down to your host.
@ -136,7 +136,7 @@ dokuwiki:
environment:
- DOKUWIKI_PASSWORD=my_password
volumes_from:
- application_data
- dokuwiki_data
```
* For manual execution add a `-e` option with each variable and value: