mirror of
https://github.com/mykitserver/docker-limesurvey.git
synced 2025-12-06 16:39:11 +01:00
Change example volume path in docker-compose files
- The previous setting did override the default Limesurvey directories - Also added a hint to the README
This commit is contained in:
@@ -29,7 +29,9 @@ LimeSurvey requires an external database (MySQL, PostgreSQL) to run. See *docker
|
|||||||
|
|
||||||
To preserve the uploaded files assign the upload folder into a volume. See *docker-compose.yml* for example.
|
To preserve the uploaded files assign the upload folder into a volume. See *docker-compose.yml* for example.
|
||||||
|
|
||||||
Path: */var/www/html/upload/*
|
Path: */var/www/html/upload/surveys*
|
||||||
|
|
||||||
|
**Hint**: The mounted directory must be owned by the webserver user (e.g. www-data)
|
||||||
|
|
||||||
# LimeSurvey Configuration
|
# LimeSurvey Configuration
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ services:
|
|||||||
context: fpm-alpine/
|
context: fpm-alpine/
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
volumes:
|
volumes:
|
||||||
- /tmp/upload/:/var/www/html/upload/
|
- /tmp/upload/surveys:/var/www/html/upload/surveys
|
||||||
- lime:/var/www/html
|
- lime:/var/www/html
|
||||||
links:
|
links:
|
||||||
- lime-db
|
- lime-db
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ services:
|
|||||||
context: fpm/
|
context: fpm/
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
volumes:
|
volumes:
|
||||||
- /tmp/upload/:/var/www/html/upload/
|
- /tmp/upload/surveys:/var/www/html/upload/surveys
|
||||||
- lime:/var/www/html
|
- lime:/var/www/html
|
||||||
links:
|
links:
|
||||||
- lime-db
|
- lime-db
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ services:
|
|||||||
context: apache/
|
context: apache/
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
volumes:
|
volumes:
|
||||||
- /tmp/upload/:/var/www/html/upload/
|
- /tmp/upload/surveys:/var/www/html/upload/surveys
|
||||||
links:
|
links:
|
||||||
- lime-db
|
- lime-db
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ services:
|
|||||||
context: apache/
|
context: apache/
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
volumes:
|
volumes:
|
||||||
- /tmp/upload/:/var/www/html/upload/
|
- /tmp/upload/surveys:/var/www/html/upload/surveys
|
||||||
links:
|
links:
|
||||||
- lime-db
|
- lime-db
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|||||||
Reference in New Issue
Block a user