Add template for HeyForm
This commit is contained in:
5
public/svgs/heyform.svg
Normal file
5
public/svgs/heyform.svg
Normal file
@@ -0,0 +1,5 @@
|
||||
<svg width="107" height="108" viewBox="0 0 107 108" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M51.1725 2.20023C53.1182 3.66395 54.199 5.65879 54.4151 8.18475L54.449 8.16536L54.449 8.75802C54.4534 8.8894 54.4556 9.02212 54.4556 9.1562L54.4489 9.15981L54.4489 60.4292C54.4944 63.1036 55.4938 65.2214 57.4471 66.7825C60.375 68.8737 63.428 69.0681 66.6062 67.3656L25.0451 91.3037C21.9599 92.8928 19.009 92.7549 16.1923 90.8901C14.2508 89.4296 13.1705 87.4401 12.9512 84.9219L12.9093 84.9459L12.9094 32.4261C12.8106 29.8624 11.8134 27.823 9.91771 26.3079C8.98241 25.6398 8.03433 25.1654 7.07349 24.8845C5.70877 24.5233 5.70877 22.8209 6.71476 22.2942C9.00727 20.9738 20.8756 14.1379 42.3197 1.78665C45.4049 0.197598 48.3559 0.335461 51.1725 2.20023Z" fill="#9DE8FF"/>
|
||||
<path d="M54.4488 60.422C54.4197 55.2586 50.2053 47.7514 41.6675 47.7514C39.2951 47.7514 37.0837 48.3714 35.0334 49.6112L73.1372 27.6703C75.0261 26.5729 77.223 25.9442 79.5674 25.9442C86.5978 25.9442 92.3025 31.5984 92.3485 38.5907C92.3485 38.5921 92.3486 38.6206 92.3486 38.6762L92.3488 77.404C92.3948 80.0776 93.3942 82.1947 95.347 83.7554C96.2931 84.4312 97.2522 84.9088 98.2245 85.1885C99.6261 85.6432 99.4651 87.2821 98.5564 87.7654C93.2607 90.8157 82.6035 96.9644 66.5848 106.212C63.4996 107.801 60.5487 107.663 57.7321 105.798C55.7857 104.334 54.7048 102.338 54.4892 99.8108L54.449 99.834V90.2561C54.449 80.3041 54.4489 60.434 54.4488 60.422Z" fill="#106BF3"/>
|
||||
<path d="M41.6675 47.7514C48.7265 47.7514 54.449 53.4517 54.449 60.4833C54.449 67.5415 54.449 72.1719 54.449 74.3743C54.449 74.3743 32.457 87.032 29.2694 88.8667C29.0203 89.01 24.9033 91.3733 24.9033 91.3733C28.5598 89.01 28.8861 85.8399 28.8861 84.4322C28.8861 80.3505 28.8861 72.3676 28.8861 60.4833C28.8861 53.4517 34.6085 47.7514 41.6675 47.7514Z" fill="#57AAF9"/>
|
||||
</svg>
|
After Width: | Height: | Size: 1.8 KiB |
48
templates/compose/heyform.yaml
Normal file
48
templates/compose/heyform.yaml
Normal file
@@ -0,0 +1,48 @@
|
||||
# documentation: https://docs.heyform.net/open-source/self-hosting
|
||||
# slogan: Allows anyone to create engaging conversational forms for surveys, questionnaires, quizzes, and polls. No coding skills required.
|
||||
# tags: form, builder, forms, survey, quiz, open source, self-hosted, docker
|
||||
# logo: svgs/heyform.svg
|
||||
# port: 9513
|
||||
|
||||
networks:
|
||||
keydb: null
|
||||
mongo: null
|
||||
|
||||
services:
|
||||
heyform:
|
||||
image: 'heyform/community-edition:latest'
|
||||
restart: always
|
||||
volumes:
|
||||
- 'assets:/app/static/upload'
|
||||
depends_on:
|
||||
- mongo
|
||||
- keydb
|
||||
ports:
|
||||
- '9513:8000'
|
||||
environment:
|
||||
- SERVICE_FQDN_HEYFORM_9513
|
||||
- 'APP_HOMEPAGE_URL=${SERVICE_FQDN_HEYFORM_9513}'
|
||||
- 'SESSION_KEY=${SERVICE_BASE64_64}'
|
||||
- 'FORM_ENCRYPTION_KEY=${SERVICE_BASE64_64}'
|
||||
- "MONGO_URI='mongodb://mongo:27017/heyform'"
|
||||
- REDIS_HOST=keydb
|
||||
- REDIS_PORT=6379
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://127.0.0.1:8000/health"]
|
||||
interval: 2s
|
||||
timeout: 10s
|
||||
retries: 15
|
||||
|
||||
mongo:
|
||||
image: 'percona/percona-server-mongodb:4.4'
|
||||
restart: always
|
||||
volumes:
|
||||
- 'mongo:/data/db'
|
||||
|
||||
keydb:
|
||||
image: 'eqalpha/keydb:latest'
|
||||
restart: always
|
||||
command: 'keydb-server --appendonly yes'
|
||||
volumes:
|
||||
- 'keydb:/data'
|
||||
|
Reference in New Issue
Block a user