From 201fcd1ed8acd99b68374e7b620bfcca3630a26f Mon Sep 17 00:00:00 2001 From: Robert Da Silva Date: Tue, 7 Jul 2026 22:11:16 +0200 Subject: [PATCH] feat(blueprint): add LimeSurvey template (#878) --- blueprints/limesurvey/docker-compose.yml | 40 ++++++++++++++++++++++++ blueprints/limesurvey/limesurvey.svg | 38 ++++++++++++++++++++++ blueprints/limesurvey/template.toml | 19 +++++++++++ meta.json | 17 ++++++++++ 4 files changed, 114 insertions(+) create mode 100644 blueprints/limesurvey/docker-compose.yml create mode 100644 blueprints/limesurvey/limesurvey.svg create mode 100644 blueprints/limesurvey/template.toml diff --git a/blueprints/limesurvey/docker-compose.yml b/blueprints/limesurvey/docker-compose.yml new file mode 100644 index 00000000..936e5199 --- /dev/null +++ b/blueprints/limesurvey/docker-compose.yml @@ -0,0 +1,40 @@ +version: "3.8" + +services: + db: + image: mariadb:10.11 + restart: always + volumes: + - db_data:/var/lib/mysql + environment: + - MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD} + - MYSQL_DATABASE=limesurvey + - MYSQL_USER=limesurvey + - MYSQL_PASSWORD=${MYSQL_PASSWORD} + + limesurvey: + image: martialblog/limesurvey:latest + restart: always + volumes: + - limesurvey_upload:/var/www/html/upload + environment: + - ADMIN_EMAIL=${ADMIN_EMAIL} + - ADMIN_NAME=Admin + - ADMIN_USER=admin + - ADMIN_PASSWORD=${ADMIN_PASSWORD} + - DB_HOST=db + - DB_MYSQL_ENGINE=InnoDB + - DB_NAME=limesurvey + - DB_PASSWORD=${MYSQL_PASSWORD} + - DB_USERNAME=limesurvey + - DEBUG=0 + - DEBUG_SQL=0 + - PUBLIC_URL=${PUBLIC_URL} + - SHOW_SCRIPT_NAME=false + - URL_FORMAT=path + depends_on: + - db + +volumes: + db_data: + limesurvey_upload: diff --git a/blueprints/limesurvey/limesurvey.svg b/blueprints/limesurvey/limesurvey.svg new file mode 100644 index 00000000..9ee4c0c6 --- /dev/null +++ b/blueprints/limesurvey/limesurvey.svg @@ -0,0 +1,38 @@ + + + + + + + + + + + + + diff --git a/blueprints/limesurvey/template.toml b/blueprints/limesurvey/template.toml new file mode 100644 index 00000000..07623f50 --- /dev/null +++ b/blueprints/limesurvey/template.toml @@ -0,0 +1,19 @@ +[variables] +main_domain = "${domain}" +mysql_root_password = "${password:32}" +mysql_user_password = "${password:32}" +admin_email = "${email}" +admin_password = "${password:32}" + +[config] +[[config.domains]] +serviceName = "limesurvey" +port = 8080 +host = "${main_domain}" + +[config.env] +PUBLIC_URL = "http://${main_domain}" +ADMIN_EMAIL = "${admin_email}" +ADMIN_PASSWORD = "${admin_password}" +MYSQL_PASSWORD = "${mysql_user_password}" +MYSQL_ROOT_PASSWORD = "${mysql_root_password}" diff --git a/meta.json b/meta.json index 6584865f..65dde0c7 100644 --- a/meta.json +++ b/meta.json @@ -3882,6 +3882,23 @@ "language" ] }, + { + "id": "limesurvey", + "name": "LimeSurvey", + "version": "6.17.2+260507", + "description": "LimeSurvey is a powerful, open-source survey platform, making it simple to create online surveys and forms with unmatched flexibility.", + "logo": "limesurvey.svg", + "links": { + "github": "https://github.com/LimeSurvey/LimeSurvey", + "website": "https://www.limesurvey.org", + "docs": "https://www.limesurvey.org/manual/" + }, + "tags": [ + "forms", + "questionnaire", + "survey" + ] + }, { "id": "linkding", "name": "Linkding",