mirror of
https://github.com/mykitserver/docker-limesurvey.git
synced 2025-12-06 16:39:11 +01:00
29 lines
752 B
YAML
29 lines
752 B
YAML
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=secret"
|
|
- "ADMIN_PASSWORD=foobar"
|
|
# 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=secret"
|
|
- "MYSQL_ROOT_PASSWORD=secret"
|