Add example for volume to README

This commit is contained in:
Markus Opolka
2018-02-13 12:32:16 +01:00
parent a69759fa87
commit 3ffa60c7d8
2 changed files with 6 additions and 0 deletions

View File

@@ -4,3 +4,7 @@
# LimeSurvey Docker
Dockerfile to build a [LimeSurvey](https://limesurvey.org) image for the Docker container platform.
# Persistence
To preserve the uploaded files assign the upload folder into a volume. See *docker-compose.yml* for details.

View File

@@ -4,6 +4,8 @@ services:
build:
context: .
dockerfile: apache/Dockerfile
volumes:
- /tmp/upload/:/var/www/html/upload/
links:
- lime-db
depends_on: