Install Limesurvey on Docker Compose
version: '3'
services:
limesurveydb:
image: mariadb
container_name: limesurveydb
restart: always
volumes:
- /your/own/mounted/location:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=Apassword
- MYSQL_PASSWORD=Anotherpassword
- MYSQL_DATABASE=databasename
- MYSQL_USER=hostname
limesurvey:
container_name: limesurvey1
restart: always
links:
- limesurveydb
depends_on:
- limesurveydb
build: .
ports:
- "8000:80"
volumes:
- /your/own/mounted/location:/var/lib/mysql
- /your/own/mounted/location:/app/upload
image:
crramirez/limesurvey:latest
environment:
- MYSQL_PASSWORD=Anotherpassword
- MYSQL_DATABASE=databasename
- MYSQL_USER=limelikescock
- MYSQL_HOST=hostname
No Comments