Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add template for HeyForm #3515

Merged
merged 1 commit into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions public/svgs/heyform.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
48 changes: 48 additions & 0 deletions templates/compose/heyform.yaml
Original file line number Diff line number Diff line change
@@ -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'