Limesurvey
Version vom 4. Juni 2024, 13:51 Uhr von Linkai.zhang (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „= Debian Vorraussetzungen = * '''apt install git docker-compose''' = Repository clonen = * '''git clone https://github.com/martialblog/docker-limesurvey.git'…“)
Debian Vorraussetzungen
- apt install git docker-compose
Repository clonen
- git clone https://github.com/martialblog/docker-limesurvey.git
- cd docker-limesurvey
Passwörter setzen
- vim docker-compose.yml
version: "3.0"
services:
limesurvey:
build:
context: 6.0/apache/
dockerfile: Dockerfile
volumes:
# Hint: This is just an example, change /tmp to something persistent
- /tmp/upload/surveys:/var/www/html/upload/surveys
links:
- lime-db
depends_on:
- lime-db
ports:
- "8080:8080"
environment:
- "DB_HOST=lime-db"
- "DB_PASSWORD=123Start$$"
- "ADMIN_PASSWORD=123Start$$"
# If you require an empty table prefix, use a space as the DB_TABLE_PREFIX
# - "DB_TABLE_PREFIX= "
lime-db:
image: docker.io/mysql:5.7
environment:
- "MYSQL_USER=limesurvey"
- "MYSQL_DATABASE=limesurvey"
- "MYSQL_PASSWORD=123Start$$"
- "MYSQL_ROOT_PASSWORD=123Start$$"