Commit 27c4c16 1 parent 80783e1 commit 27c4c16 Copy full SHA for 27c4c16
File tree 3 files changed +26
-7
lines changed
server/application-server
3 files changed +26
-7
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ services:
38
38
restart : unless-stopped
39
39
volumes :
40
40
- ./postfix-config:/config # See https://github.com/ls1admin/postfix-container-tum-mailrelay/tree/main for details
41
- hostname : hephaestus.aet.cit.tum.de
41
+ hostname : ${APP_HOSTNAME:localhost}
42
42
networks :
43
43
- app-network
44
44
Original file line number Diff line number Diff line change @@ -13,6 +13,19 @@ spring:
13
13
jwt :
14
14
issuer-uri : ${KEYCLOAK_URL}/realms/${KEYCLOAK_REALM}
15
15
16
+ mail :
17
+ host : ${POSTFIX_HOST:localhost}
18
+ port : ${POSTFIX_PORT:25}
19
+ username : ${POSTFIX_USERNAME:}
20
+ password : ${POSTFIX_PASSWORD:}
21
+ properties :
22
+ mail :
23
+ transport :
24
+ protocol : smtp
25
+ smtp :
26
+ starttls :
27
+ enable : true
28
+
16
29
hephaestus :
17
30
host-url : ${APPLICATION_HOST_URL}
18
31
@@ -30,6 +43,11 @@ hephaestus:
30
43
intelligence-service :
31
44
url : ${INTELLIGENCE_SERVICE_URL}
32
45
46
+ mail :
47
+ enabled : ${MAIL_ENABLED:false}
48
+ sender : ${MAIL_SENDER:}
49
+ signature : ${MAIL_SIGNATURE:}
50
+
33
51
keycloak :
34
52
url : ${KEYCLOAK_URL}
35
53
realm : ${KEYCLOAK_REALM}
Original file line number Diff line number Diff line change @@ -34,17 +34,18 @@ spring:
34
34
suffix : .html
35
35
36
36
mail :
37
- host : ${POSTFIX_HOST:localhost}
38
- port : ${POSTFIX_PORT:25}
39
- username : ${POSTFIX_USERNAME:}
40
- password : ${POSTFIX_PASSWORD:}
37
+ host : smtp.gmail.com
38
+ port : 587
39
+ username :
${POSTFIX_USERNAME:} # gmail email address e.g [email protected]
40
+ password : ${POSTFIX_PASSWORD:} # app code password from gmail. how to: https://support.google.com/mail/answer/185833?hl=en
41
41
properties :
42
42
mail :
43
43
transport :
44
44
protocol : smtp
45
45
smtp :
46
46
starttls :
47
47
enable : true
48
+ debug : true
48
49
49
50
springdoc :
50
51
default-produces-media-type : application/json
@@ -69,8 +70,8 @@ hephaestus:
69
70
url : http://localhost:8000
70
71
71
72
mail :
72
- enabled : ${MAIL_ENABLED:true}
73
- sender :
${MAIL_SENDER:[email protected] }
73
+ enabled : false
74
+ sender : ${MAIL_SENDER:}
74
75
signature : ${MAIL_SIGNATURE:}
75
76
76
77
keycloak :
You can’t perform that action at this time.
0 commit comments