diff --git a/blueprints/heyform/docker-compose.yml b/blueprints/heyform/docker-compose.yml index ec7e02fc..9a53bf3b 100644 --- a/blueprints/heyform/docker-compose.yml +++ b/blueprints/heyform/docker-compose.yml @@ -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: diff --git a/blueprints/heyform/template.toml b/blueprints/heyform/template.toml index 0f778d88..301251b7 100644 --- a/blueprints/heyform/template.toml +++ b/blueprints/heyform/template.toml @@ -8,6 +8,13 @@ env = [ "APP_HOMEPAGE_URL=http://${main_domain}", "SESSION_KEY=${session_key}", "FORM_ENCRYPTION_KEY=${form_encryption_key}", + "SMTP_FROM=HeyForm ", + "SMTP_HOST=", + "SMTP_PORT=587", + "SMTP_USER=", + "SMTP_SECURE=false", + "SMTP_IGNORE_CERT=false", + "SMTP_PASSWORD=", ] mounts = []