diff options
| author | Kasra Bigdeli <[email protected]> | 2020-08-16 20:02:16 -0400 |
|---|---|---|
| committer | Kasra Bigdeli <[email protected]> | 2020-08-16 20:03:15 -0400 |
| commit | 0e70ec541e7441b71460db230975d4614473ed6d (patch) | |
| tree | 6e8bafcd18f41d09bc893dc75f36398a0c1f7dde /public/v4/apps/limesurvey.yml | |
| parent | 83103a180914dff274188594132c1395f12a1645 (diff) | |
| download | caprover-one-click-apps-0e70ec541e7441b71460db230975d4614473ed6d.tar.gz caprover-one-click-apps-0e70ec541e7441b71460db230975d4614473ed6d.zip | |
migrate to v4
Diffstat (limited to 'public/v4/apps/limesurvey.yml')
| -rw-r--r-- | public/v4/apps/limesurvey.yml | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/public/v4/apps/limesurvey.yml b/public/v4/apps/limesurvey.yml new file mode 100644 index 0000000..a03ce5c --- /dev/null +++ b/public/v4/apps/limesurvey.yml @@ -0,0 +1,69 @@ +captainVersion: 4 +services: + $$cap_appname-db: + documentation: Taken from https://hub.docker.com/_/mariadb + image: mariadb:$$cap_mariadb_version + 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 + caproverExtra: + notExposeAsWebApp: "true" + $$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 +caproverOneClickApp: + 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])+$/ + instructions: + start: >- + Limesurvey is an open source online survey tool. + + The process will deploy a database and the App. + + The process will take about a minute for the process to finish. + end: >- + Limesurvey is deployed and available as $$cap_appname. + + + Please use srv-captain--$$cap_appname-db as database host on your online configuration. + + $$cap_db_user as user name + + $$cap_db_pass as password + + $$cap_db_name as database name + displayName: Limesurvey + description: Limesurvey is an open source online survey tool. |
