summaryrefslogtreecommitdiffhomepage
path: root/public/v4/apps/formio.yml
blob: 594d8a25e8d5283b49ff137ccbabd9e514eb1079 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
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
        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://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_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