mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-10 00:15:28 +02:00
fix: expose HeyForm SMTP settings
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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 = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user