Merge pull request #939 from rohitmulani63-ops/codex/add-heyform-smtp-config

fix: expose HeyForm SMTP settings
This commit is contained in:
Mauricio Siu
2026-07-08 10:44:27 -06:00
committed by GitHub
3 changed files with 23 additions and 19 deletions

View File

@@ -1,48 +1,45 @@
services:
heyform:
image: heyform/community-edition:latest
image: heyform/community-edition:v0.1.0
restart: always
volumes:
# Persist uploaded images
- heyform-data:/app/static/upload
depends_on:
- mongo
- redis
- keydb
ports:
- 8000
env_file:
- .env
environment:
MONGO_URI: 'mongodb://mongo:27017/heyform'
REDIS_HOST: redis
REDIS_HOST: keydb
REDIS_PORT: 6379
networks:
- heyform-network
SMTP_FROM: ${SMTP_FROM}
SMTP_HOST: ${SMTP_HOST}
SMTP_PORT: ${SMTP_PORT}
SMTP_USER: ${SMTP_USER}
SMTP_SECURE: ${SMTP_SECURE}
SMTP_IGNORE_CERT: ${SMTP_IGNORE_CERT}
SMTP_PASSWORD: ${SMTP_PASSWORD}
mongo:
image: percona/percona-server-mongodb:4.4
restart: always
networks:
- heyform-network
volumes:
# Persist MongoDB data
- mongo-data:/data/db
redis:
image: redis
keydb:
image: eqalpha/keydb:alpine
restart: always
command: "redis-server --appendonly yes"
networks:
- heyform-network
command: keydb-server --appendonly yes --protected-mode no
volumes:
# Persist KeyDB data
- redis-data:/data
networks:
heyform-network:
driver: bridge
- keydb-data:/data
volumes:
heyform-data:
mongo-data:
redis-data:
keydb-data:

View File

@@ -1,7 +1,7 @@
{
"id": "heyform",
"name": "HeyForm",
"version": "latest",
"version": "v0.1.0",
"description": "Allows anyone to create engaging conversational forms for surveys, questionnaires, quizzes, and polls. No coding skills required.",
"logo": "heyform.svg",
"links": {

View File

@@ -8,6 +8,13 @@ env = [
"APP_HOMEPAGE_URL=http://${main_domain}",
"SESSION_KEY=${session_key}",
"FORM_ENCRYPTION_KEY=${form_encryption_key}",
"SMTP_FROM=HeyForm <noreply@${main_domain}>",
"SMTP_HOST=",
"SMTP_PORT=587",
"SMTP_USER=",
"SMTP_SECURE=false",
"SMTP_IGNORE_CERT=false",
"SMTP_PASSWORD=",
]
mounts = []