Skip to content

Commit dc62200

Browse files
Merge pull request #45 from vimal-tech-dev/bugfix/issue-44-deployment-failed
fix: redis auth + safe mail config
2 parents 2f41903 + edddedc commit dc62200

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

src/main/resources/application-prod.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ spring:
66
driver-class-name: org.postgresql.Driver
77

88
mail:
9-
host: ${MAIL_HOST}
10-
port: ${MAIL_PORT}
11-
username: ${MAIL_USERNAME}
12-
password: ${MAIL_PASSWORD}
9+
host: ${MAIL_HOST:}
10+
port: ${MAIL_PORT:}
11+
username: ${MAIL_USERNAME:}
12+
password: ${MAIL_PASSWORD:}
1313
properties:
1414
mail:
1515
smtp:
@@ -21,6 +21,7 @@ spring:
2121
redis:
2222
host: redis
2323
port: 6379
24+
password: ${SPRING_DATA_REDIS_PASSWORD}
2425
timeout: 2000
2526

2627
jpa:

0 commit comments

Comments
 (0)