summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSimon Belbeoch <[email protected]>2020-05-24 16:58:19 +0200
committerGitHub <[email protected]>2020-05-24 10:58:19 -0400
commitece58af5c7e0163aa6a6c40dbe971648099cefd9 (patch)
tree81eae36f804b669544926c51f409b2541fb37ac7
parent8e7f962167132121d0ef9c93c4c7a9073ce9c01a (diff)
downloadcaprover-one-click-apps-ece58af5c7e0163aa6a6c40dbe971648099cefd9.tar.gz
caprover-one-click-apps-ece58af5c7e0163aa6a6c40dbe971648099cefd9.zip
Feature add limesurvey (#175)
* add limesurvey logo * add limesurvey * take into account dev review comments
-rw-r--r--public/v2/apps/limesurvey.json76
-rw-r--r--public/v2/logos/limesurvey.pngbin0 -> 29241 bytes
2 files changed, 76 insertions, 0 deletions
diff --git a/public/v2/apps/limesurvey.json b/public/v2/apps/limesurvey.json
new file mode 100644
index 0000000..f02a429
--- /dev/null
+++ b/public/v2/apps/limesurvey.json
@@ -0,0 +1,76 @@
+{
+ "captainVersion": "2",
+ "displayName": "Limesurvey",
+ "description": "Limesurvey is an open source online survey tool.",
+ "dockerCompose": {
+ "version": "2",
+ "services": {
+ "$$cap_appname-db": {
+ "documentation": "Taken from https://hub.docker.com/_/mariadb",
+ "image": "mariadb:$$cap_mariadb_version",
+ "notExposeAsWebApp": "true",
+ "volumes": [
+ "$$cap_appname-db-data:/var/lib/mysql"
+ ],
+ "restart": "always",
+ "environment": {
+ "MYSQL_ROOT_PASSWORD": "$$cap_db_pass",
+ "MYSQL_DATABASE": "$$cap_db_name",
+ "MYSQL_USER": "$$cap_db_user",
+ "MYSQL_PASSWORD": "$$cap_db_pass"
+ }
+ },
+ "$$cap_appname": {
+ "documentation": "Taken from https://registry.hub.docker.com/r/crramirez/limesurvey",
+ "depends_on": [
+ "$$cap_appname-db"
+ ],
+ "image": "crramirez/limesurvey:$$cap_limesurvey_version",
+ "volumes": [
+ "$$cap_appname-data:/app/upload"
+ ],
+ "restart": "always"
+ }
+ }
+ },
+ "instructions": {
+ "start": "Limesurvey is an open source online survey tool.\nThe process will deploy a database and the App.\nThe process will take about a minute for the process to finish.",
+ "end": "Limesurvey is deployed and available as $$cap_appname.\n\nPlease use srv-captain--$$cap_appname-db as database host on your online configuration.\n$$cap_db_user as user name\n$$cap_db_pass as password\n$$cap_db_name as database name"
+ },
+ "variables": [
+ {
+ "id": "$$cap_limesurvey_version",
+ "label": "Limesurvey Version",
+ "defaultValue": "3",
+ "description": "https://registry.hub.docker.com/r/crramirez/limesurvey/tags",
+ "validRegex": "/^([^\\s^\\/])+$/"
+ },
+ {
+ "id": "$$cap_mariadb_version",
+ "label": "MariaDB (database) version",
+ "defaultValue": "10.5.3",
+ "description": "Check out their Docker page for the valid tags https://hub.docker.com/_/mariadb?tab=tags",
+ "validRegex": "/^([^\\s^\\/])+$/"
+ },
+ {
+ "id": "$$cap_db_pass",
+ "label": "database password",
+ "description": "Password for the database user and root using mysql.",
+ "validRegex": "/.{1,}/"
+ },
+ {
+ "id": "$$cap_db_name",
+ "label": "database name",
+ "defaultValue": "limesurvey",
+ "description": "name for the database.",
+ "validRegex": "/^([a-zA-Z0-9])+$/"
+ },
+ {
+ "id": "$$cap_db_user",
+ "label": "database user",
+ "defaultValue": "limesurvey",
+ "description": "Username for the database using mysql.",
+ "validRegex": "/^([a-zA-Z0-9])+$/"
+ }
+ ]
+}
diff --git a/public/v2/logos/limesurvey.png b/public/v2/logos/limesurvey.png
new file mode 100644
index 0000000..e62be6e
--- /dev/null
+++ b/public/v2/logos/limesurvey.png
Binary files differ