/
application.properties.sample
58 lines (45 loc) · 1.48 KB
/
application.properties.sample
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
server.port=8080
server.address=127.0.0.1
spring.thymeleaf.cache=false
spring.http.multipart.max-file-size=50MB
spring.http.multipart.max-request-size=50MB
SALT=
SALTCHARS=
# ===========================
# = LOGGING
# ===========================
logging.level.org.springframework.web=ERROR
logging.level.org.hibernate=ERROR
logging.level.=ERROR
logging.file=/home/app.log
# ===========================
# = DATA SOURCE
# ===========================
spring.datasource.url=
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
#username and password
spring.datasource.username=
spring.datasource.password=
#Keep the configuration alive if idle for a long time
spring.datasource.testWhileIdle = true
spring.datasource.validationQuery = SELECT 1
# ===========================
# = JPA / HIBERNATE
# ===========================
#Use spring.jpa.properties for Hibernate native properties
spring.jpa.show-sql=false
#schema will be updated accordingly to java entities
spring.jpa.hibernate.ddl-auto = update
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5InnoDBDialect
spring.jpa.properties.hibernate.search.default.directory_provider = filesystem
spring.jpa.properties.hibernate.search.default.indexBase = /home/app/indexes
# ===========================
# = JAVA MAIL CONFIG
# ===========================
spring.mail.host=
spring.mail.username=
spring.mail.password=
spring.mail.properties.smtp.starttls.enable=true
spring.mail.properties.smtp.auth=true
spring.mail.port=
support.email=