mirror of
https://github.com/mykitserver/docker-limesurvey.git
synced 2025-12-06 16:39:11 +01:00
Add example for volume to README
This commit is contained in:
@@ -4,3 +4,7 @@
|
|||||||
# LimeSurvey Docker
|
# LimeSurvey Docker
|
||||||
|
|
||||||
Dockerfile to build a [LimeSurvey](https://limesurvey.org) image for the Docker container platform.
|
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.
|
||||||
|
|||||||
@@ -4,6 +4,8 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: apache/Dockerfile
|
dockerfile: apache/Dockerfile
|
||||||
|
volumes:
|
||||||
|
- /tmp/upload/:/var/www/html/upload/
|
||||||
links:
|
links:
|
||||||
- lime-db
|
- lime-db
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|||||||
Reference in New Issue
Block a user