* [add] form.io

* [delete] smtp default value
This commit is contained in:
Bukhori Muhammad Aqid 2020-12-19 17:58:53 +01:00 committed by GitHub
parent a5d5dcaaf0
commit 3cb85a220d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 90 additions and 0 deletions

90
public/v4/apps/formio.yml Normal file
View File

@ -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: admin@example.com
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

BIN
public/v4/logos/formio.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB