summaryrefslogtreecommitdiffhomepage
path: root/public/v4/apps/ohmyform.yml
blob: f8dd2757c169433b8a965b11080773aee13f0ce7 (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
captainVersion: 4
services:
    $$cap_appname:
        image: ohmyform/ohmyform:0.9.9
        volumes:
            - $$cap_appname-data:/data
        environment:
            CREATE_ADMIN: 'TRUE'
            ADMIN_EMAIL: $$cap_ohmyform_email
            ADMIN_USERNAME: $$cap_ohmyform_user
            ADMIN_PASSWORD: $$cap_ohmyform_pass
            MAILER_URI: smtp://srv-captain--$$cap_appname-mailhog:1025
            PORT: '5000'
            MONGODB_URI: mongodb://srv-captain--$$cap_appname-mongo/ohmyform
        caproverExtra:
            containerHttpPort: '5000'
    $$cap_appname-mongo:
        image: mongo:4
        volumes:
            - $$cap_appname-mongo:/data/db
        caproverExtra:
            notExposeAsWebApp: 'true'
    $$cap_appname-mailhog:
        image: mailhog/mailhog:v1.0.1
        caproverExtra:
            notExposeAsWebApp: 'true'
caproverOneClickApp:
    variables:
        - id: $$cap_ohmyform_email
          label: Admin E-Mail
          description: E-Mail for the OhMyForm admin user
          validRegex: /.{1,}/
        - id: $$cap_ohmyform_user
          label: Admin user name
          description: User name for the OhMyForm admin user
          defaultValue: ohmyadmin
          validRegex: /.{1,}/
        - id: $$cap_ohmyform_pass
          label: Admin password
          description: Password for the OhMyForm admin user
          defaultValue: $$cap_gen_random_hex(64)
          validRegex: /.{1,}/
    instructions:
        start: |-
            An open source alternative to TypeForm and Google Forms that can create stunning mobile-ready forms, surveys and questionnaires.
            With OhMyForm you'll get all the features you need to run, administer, analyze and distribute forms for free.
            More details: https://ohmyform.com/
        end: |-
            OhMyForm has been successfully deployed! Be sure to activate (or better yet, enforce) https access. You can then log in with user $$cap_ohmyform_user and password $$cap_ohmyform_pass at https://$$cap_appname.$$cap_root_domain
    displayName: OhMyForm
    isOfficial: true
    description: Create stunning embedable forms for recruiting, market research, surveys and more https://ohmyform.com/
    documentation: https://ohmyform.com/docs/