forked from dineug/SpringBoot-restAPI-Template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapplication.properties
More file actions
31 lines (25 loc) · 839 Bytes
/
application.properties
File metadata and controls
31 lines (25 loc) · 839 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#Server
server.port=80
#Mysql
spring.datasource.driver-class-name=net.sf.log4jdbc.sql.jdbcapi.DriverSpy
spring.datasource.url=jdbc:log4jdbc:mysql://localhost:3306/handcoding?useUnicode=true&characterEncoding=utf8&useSSL=false
spring.datasource.username=root
spring.datasource.password=1234
#Encoding UTF-8
spring.http.encoding.force=true
#Mybatis
mybatis.type-aliases-package=com.handcoding.restapi.domain
mybatis.mapper-locations=mappers/*Mapper.xml
#Mail
spring.mail.host=smtp.gmail.com
spring.mail.port=587
spring.mail.username=handcodingtest@gmail.com
spring.mail.password=handcoding
spring.mail.properties.mail.smtp.auth=true
spring.mail.properties.mail.smtp.starttls.enable=true
#Messages
spring.messages.basename=messages/message
#Redis
spring.redis.host=192.168.85.128
spring.redis.password=handcoding
spring.redis.port=6379