Skip to content

Commit ec45beb

Browse files
authored
Made the SMTP server config env-driven (#56)
1 parent 154980c commit ec45beb

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

realms/schuly-realm.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
"verifyEmail": true,
88
"registrationFlow": "registration",
99
"smtpServer": {
10-
"host": "smtp.resend.com",
11-
"port": "2465",
12-
"ssl": "true",
13-
"starttls": "false",
10+
"host": "${env.SMTP_HOST}",
11+
"port": "${env.SMTP_PORT}",
12+
"ssl": "${env.SMTP_SSL}",
13+
"starttls": "${env.SMTP_STARTTLS}",
1414
"auth": "true",
15-
"user": "resend",
15+
"user": "${env.SMTP_USER}",
1616
"password": "${env.SMTP_PASSWORD}",
17-
"from": "noreply@schuly.dev",
17+
"from": "${env.SMTP_FROM}",
1818
"fromDisplayName": "Schuly"
1919
},
2020
"resetPasswordAllowed": true,

0 commit comments

Comments
 (0)