mirror of
https://github.com/mykitserver/docker-limesurvey.git
synced 2025-12-06 16:39:11 +01:00
30 lines
861 B
YAML
30 lines
861 B
YAML
version: "3.0"
|
|
services:
|
|
limesurvey:
|
|
image: docker.io/martialblog/limesurvey:latest
|
|
links:
|
|
- lime-db
|
|
depends_on:
|
|
- lime-db
|
|
environment:
|
|
- "DB_HOST=lime-db"
|
|
- "DB_PASSWORD=secret"
|
|
- "ADMIN_PASSWORD=foobar"
|
|
- "PUBLIC_URL=http://my.survey.localhost:8080" # Example, Change this
|
|
- "BASE_URL=http://my.survey.localhost:8080" # Example, Change this
|
|
proxy:
|
|
image: docker.io/httpd:bullseye
|
|
volumes:
|
|
- "./examples/apache-httpd.conf:/usr/local/apache2/conf/httpd.conf:ro"
|
|
- "./examples/apache-reverse-proxy.conf:/usr/local/apache2/conf/reverse-proxy.conf:ro"
|
|
ports:
|
|
- "8080:8080"
|
|
lime-db:
|
|
image: docker.io/mysql:5.7
|
|
environment:
|
|
- "MYSQL_USER=limesurvey"
|
|
- "MYSQL_DATABASE=limesurvey"
|
|
- "MYSQL_PASSWORD=secret"
|
|
- "MYSQL_ROOT_PASSWORD=secret"
|
|
|