Skip to content

Commit 2f41903

Browse files
Merge pull request #43 from vimal-tech-dev/feature/new-update-phase-11.6
feat: add mail configuration
2 parents 20c7047 + db989bb commit 2f41903

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

src/main/resources/application-prod.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@ spring:
55
password: ${DB_PASSWORD:?DB_PASSWORD is required}
66
driver-class-name: org.postgresql.Driver
77

8+
mail:
9+
host: ${MAIL_HOST}
10+
port: ${MAIL_PORT}
11+
username: ${MAIL_USERNAME}
12+
password: ${MAIL_PASSWORD}
13+
properties:
14+
mail:
15+
smtp:
16+
auth: true
17+
starttls:
18+
enable: true
19+
820
data:
921
redis:
1022
host: redis
@@ -47,4 +59,8 @@ management:
4759

4860
metrics:
4961
tags:
50-
application: contact-api
62+
application: contact-api
63+
64+
app:
65+
mail:
66+
from: ${MAIL_FROM}

0 commit comments

Comments
 (0)