1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
| server:
| port: 8009
| spring:
| application:
| name: email-service
| mail:
| host: smtp.163.com # 163邮箱smtp主机
| username: china365days@163.com # 邮箱帐号
| password: adflks888 # 这里邮箱开通POP3/SMTP提供的授权码,如果邮箱服务商没有授权码,可以使用密码代替
| default-encoding: UTF-8
|
|
| eureka:
| instance:
| ###注册中心ip地址
| hostname: ${kidgrow.eureka.instance.hostname}
| instance-id: ${spring.cloud.client.ip-address}:${spring.application.name}:${server.port}
| prefer-ip-address: true
| client:
| serviceUrl:
| defaultZone: ${kidgrow.eureka.client.serviceUrl.defaultZone}
|
|