mirror of
https://github.com/mykitserver/docker-limesurvey.git
synced 2025-12-06 16:39:11 +01:00
* Remove default passwords in all example files - To discourage production use without changing the passwords.
37 lines
828 B
YAML
37 lines
828 B
YAML
version: "3.0"
|
|
services:
|
|
limesurvey:
|
|
build:
|
|
context: 6.0/fpm/
|
|
dockerfile: Dockerfile
|
|
volumes:
|
|
# Hint: This is just an example, change /tmp to something persistent
|
|
- /tmp/upload/surveys:/var/www/html/upload/surveys
|
|
- lime:/var/www/html
|
|
links:
|
|
- lime-db
|
|
depends_on:
|
|
- lime-db
|
|
environment:
|
|
- "DB_HOST=lime-db"
|
|
# - "DB_PASSWORD="
|
|
# - "ADMIN_PASSWORD="
|
|
lime-web:
|
|
image: docker.io/nginx
|
|
links:
|
|
- limesurvey
|
|
ports:
|
|
- "8080:80"
|
|
volumes:
|
|
- ./examples/nginx.conf:/etc/nginx/nginx.conf:ro
|
|
- lime:/var/www/html
|
|
lime-db:
|
|
image: docker.io/mysql:5.7
|
|
environment:
|
|
- "MYSQL_USER=limesurvey"
|
|
- "MYSQL_DATABASE=limesurvey"
|
|
# - "MYSQL_PASSWORD="
|
|
# - "MYSQL_ROOT_PASSWORD="
|
|
volumes:
|
|
lime:
|