Commit 7f1512b 1 parent e320693 commit 7f1512b Copy full SHA for 7f1512b
File tree 2 files changed +21
-7
lines changed
2 files changed +21
-7
lines changed Original file line number Diff line number Diff line change
1
+ version : ' 3'
2
+
3
+ services :
4
+ fake-smtp-server :
5
+ image : gessnerfl/fake-smtp-server:2.2.1
6
+ hostname : ' fake-smtp-server'
7
+ restart : always
8
+ environment :
9
+ - FAKESMTP_AUTHENTICATION_USERNAME=myuser
10
+ - FAKESMTP_AUTHENTICATION_PASSWORD=mysecretpassword
11
+ ports :
12
+ - 8025:8025 # expose smtp port
13
+ - 8082:8080 # expose web ui
14
+ - 8081:8081 # expose management api
Original file line number Diff line number Diff line change @@ -55,16 +55,16 @@ spring:
55
55
# Remove 'faker' if you do not want the sample data to be loaded automatically
56
56
contexts : dev, faker
57
57
mail :
58
- host : smtp.gmail.com
59
- username :
60
- password :
61
- port : 587
58
+ host : localhost
59
+ username : myuser
60
+ password : mysecretpassword
61
+ port : 8025
62
62
protocol : smtp
63
- tls : true
63
+ tls : false
64
64
properties.mail.smtp :
65
65
auth : true
66
- starttls.enable : true
67
- ssl.trust : smtp.gmail.com
66
+ starttls.enable : false
67
+ ssl.trust :
68
68
messages :
69
69
cache-duration : PT1S # 1 second, see the ISO 8601 standard
70
70
thymeleaf :
You can’t perform that action at this time.
0 commit comments