fix: expose HeyForm SMTP settings

This commit is contained in:
Rohit Mulani
2026-06-22 14:44:23 +04:00
parent 1cde3fac82
commit 24fba0a729
2 changed files with 14 additions and 10 deletions

View File

@@ -16,14 +16,17 @@ services:
MONGO_URI: 'mongodb://mongo:27017/heyform'
REDIS_HOST: redis
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
@@ -32,16 +35,10 @@ services:
image: redis
restart: always
command: "redis-server --appendonly yes"
networks:
- heyform-network
volumes:
# Persist KeyDB data
- redis-data:/data
networks:
heyform-network:
driver: bridge
volumes:
heyform-data:
mongo-data:

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 = []