This reverts commit 93e3538639.
This commit is contained in:
Kasra Bigdeli 2022-02-26 11:39:31 -08:00
parent 93e3538639
commit 9de1983742
2 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,50 @@
captainVersion: 4
services:
$$cap_appname:
image: ohmyform/ohmyform:0.9.9
volumes:
- $$cap_appname-data:/data
environment:
CREATE_ADMIN: 'TRUE'
DATABASE_DRIVER: sqlite
DATABASE_URL: 'sqlite:///data/data.sqlite'
LOGIN_NOTE: 'Either login with admin:admin or create your own account to test OhMyForm'
ADMIN_EMAIL: $$cap_ohmyform_email
ADMIN_USERNAME: $$cap_ohmyform_user
ADMIN_PASSWORD: $$cap_ohmyform_pass
MAILER_URI: smtp://srv-captain--$$cap_appname-mailhog:1025
SECRET_KEY: $$cap_gen_random_hex(64)
caproverExtra:
containerHttpPort: '3000'
$$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/

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB