diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml index 568a343..5909e7e 100644 --- a/src/main/resources/application-prod.yml +++ b/src/main/resources/application-prod.yml @@ -5,6 +5,18 @@ spring: password: ${DB_PASSWORD:?DB_PASSWORD is required} driver-class-name: org.postgresql.Driver + mail: + host: ${MAIL_HOST} + port: ${MAIL_PORT} + username: ${MAIL_USERNAME} + password: ${MAIL_PASSWORD} + properties: + mail: + smtp: + auth: true + starttls: + enable: true + data: redis: host: redis @@ -47,4 +59,8 @@ management: metrics: tags: - application: contact-api \ No newline at end of file + application: contact-api + +app: + mail: + from: ${MAIL_FROM} \ No newline at end of file