From 647f274900e664d3df1384587a1a2c311cd98c7a Mon Sep 17 00:00:00 2001 From: lennard7001 Date: Tue, 11 Feb 2020 20:00:37 +0100 Subject: [PATCH] Create docker-compose.example.yml --- docker-compose.example.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docker-compose.example.yml diff --git a/docker-compose.example.yml b/docker-compose.example.yml new file mode 100644 index 0000000..e5be6e7 --- /dev/null +++ b/docker-compose.example.yml @@ -0,0 +1,33 @@ +version: '3' +services: + limesurvey: + image: martialblog/limesurvey:latest + restart: always + environment: + - DB_TYPE=pgsql + - DB_PORT=5432 + - DB_HOST=limesurvey_db_1.limesurvey_default + - DB_PASSWORD=example + - DB_NAME=limesurvey + - DB_USERNAME=limesurvey + - ADMIN_USER=admin + - ADMIN_NAME=Admin + - ADMIN_PASSWORD=example + - ADMIN_EMAIL=admin@example.com + - PUBLIC_URL=foobar.com + volumes: + - limesurvey:/var/www/html/upload/surveys + ports: + - 8080:80 + depends_on: + - db + db: + image: postgres:9.6-alpine + restart: always + environment: + - POSTGRES_USER=limesurvey + - POSTGRES_DB=limesurvey + - POSTGRES_PASSWORD=example + +volumes: + limesurvey: