summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBukhori Muhammad Aqid <[email protected]>2020-12-19 17:58:53 +0100
committerGitHub <[email protected]>2020-12-19 11:58:53 -0500
commit3cb85a220df32fcd5c43c20cffb58a0acbf80e5b (patch)
treeb516fd957245da5cd08e18aa20541b9f4cfda4e7
parenta5d5dcaaf01ed29a4aedd719176f60d69ef09b61 (diff)
downloadcaprover-one-click-apps-3cb85a220df32fcd5c43c20cffb58a0acbf80e5b.tar.gz
caprover-one-click-apps-3cb85a220df32fcd5c43c20cffb58a0acbf80e5b.zip
Form.io (#321)
* [add] form.io * [delete] smtp default value
-rw-r--r--public/v4/apps/formio.yml90
-rw-r--r--public/v4/logos/formio.pngbin0 -> 9569 bytes
2 files changed, 90 insertions, 0 deletions
diff --git a/public/v4/apps/formio.yml b/public/v4/apps/formio.yml
new file mode 100644
index 0000000..5efd61b
--- /dev/null
+++ b/public/v4/apps/formio.yml
@@ -0,0 +1,90 @@
+captainVersion: 4
+services:
+ $$cap_appname-mongodb:
+ documentation: Taken from https://hub.docker.com/_/mongo
+ image: mongo:$$cap_mongo_version
+ volumes:
+ - $$cap_appname-db-data:/data/db
+ restart: always
+ environment:
+ MONGO_INITDB_ROOT_USERNAME: $$cap_db_user
+ MONGO_INITDB_ROOT_PASSWORD: $$cap_db_pass
+ caproverExtra:
+ notExposeAsWebApp: 'true'
+ $$cap_appname:
+ documentation: Taken from https://hub.docker.com/r/calipseo/formio
+ depends_on:
+ - $$cap_appname-mongodb
+ image: calipseo/formio:$$cap_formio_version
+ volumes:
+ - $$cap_appname-data:/app
+ restart: always
+ environment:
+ APP_URL: 'https://$$cap_appname.$$cap_root_domain'
+ API_URL: 'https://$$cap_appname.$$cap_root_domain'
+ MONGO: mongodb://$$cap_db_user:$$cap_db_pass@srv-captain--$$cap_appname-mongodb:27017/formio
+ ROOT_EMAIL: $$cap_admin_email
+ ROOT_PASSWORD: $$cap_admin_pass
+ SMTP_HOST: $$cap_smtp_host
+ SMTP_PORT: $$cap_smtp_port
+ SMTP_USERNAME: $$cap_smtp_user
+ SMTP_PASSWORD: $$cap_smtp_pass
+ caproverExtra:
+ containerHttpPort: '3001'
+caproverOneClickApp:
+ variables:
+ - id: $$cap_admin_email
+ label: Formio default admin email
+ defaultValue: [email protected]
+ description: Admin email for Formio.
+ validRegex: /.{1,}/
+ - id: $$cap_admin_pass
+ label: admin password
+ description: Password for the admin user.
+ validRegex: /.{1,}/
+ - id: $$cap_formio_version
+ label: Formio Version
+ defaultValue: 1.90.7
+ description: https://hub.docker.com/r/calipseo/formio/tags
+ validRegex: /^([^\s^\/])+$/
+ - id: $$cap_mongo_version
+ label: Mongo (database) version
+ defaultValue: 4.1
+ description: Check out their Docker page for the valid tags https://hub.docker.com/_/mongo?tab=tags
+ validRegex: /^([^\s^\/])+$/
+ - id: $$cap_db_pass
+ label: database password
+ description: Password for the database user and root using mongodb.
+ validRegex: /.{1,}/
+ - id: $$cap_db_name
+ label: database name
+ defaultValue: formio
+ description: name for the database.
+ validRegex: /^([a-zA-Z0-9])+$/
+ - id: $$cap_db_user
+ label: database user
+ defaultValue: formio
+ description: Username for the database using mongodb.
+ validRegex: /^([a-zA-Z0-9])+$/
+ - id: $$cap_smtp_host
+ label: SMPT host
+ description: The host for your smtp server
+ - id: $$cap_smtp_port
+ label: SMTP port
+ description: The port for your smtp server
+ - id: $$cap_smtp_user
+ label: SMTP user
+ description: The user for your smtp server
+ - id: $$cap_smtp_pass
+ label: SMTP password
+ description: The password for your smtp server
+ instructions:
+ start: |-
+ <form.io> is a combined Form and Data Management platform for form-based Progressive web applications.
+ The process will deploy a database, the API and form manager.
+ end: |-
+ Formio has been successfully deployed!
+ displayName: Formio
+ isOfficial: false
+ description: <form.io> is a combined Form and Data Management platform for form-based Progressive web applications.
+ documentation: See https://github.com/formio/formio
diff --git a/public/v4/logos/formio.png b/public/v4/logos/formio.png
new file mode 100644
index 0000000..69eac78
--- /dev/null
+++ b/public/v4/logos/formio.png
Binary files differ