forked from WebEducationPlatform/CRM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
application.properties
62 lines (51 loc) · 2.35 KB
/
application.properties
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
57
58
59
60
61
62
# Database/JPA configs
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.url=jdbc:mysql://localhost:3306/crm?useUnicode=yes&characterEncoding=UTF-8&useSSL=false
spring.jpa.hibernate.ddl-auto=create-drop
#spring.jpa.hibernate.ddl-auto=validate
spring.jpa.show-sql=false
spring.jpa.properties.hibernate.format_sql=true
spring.datasource.username=root
spring.datasource.password=root
#Project configs
project.jpa.batch-size=50
project.pagination.page-size.client-history=10
#min 30
project.pagination.page-size.clients=30
project.password.encoder.strength=12
# Server configs
server.port=9999
server.url=https://crm.java-mentor.com
# Enable response compression
server.compression.enabled=true
# The comma-separated list of mime types that should be compressed
server.compression.mime-types=text/html,text/xml,text/plain,text/css,text/javascript,application/javascript,application/json
# Compress the response only if the response size is at least 1KB
server.compression.min-response-size=1024
# Setting infinite session (-1 value)
server.session.cookie.max-age=-1
# Session timeout (in secs for spring, in minutes for tomcat server/container)
# This is common parameter for different session (websocket, database, redis and other)
server.session.timeout=-1
# File upload config
spring.http.multipart.max-file-size=2MB
spring.http.multipart.max-request-size=10MB
#Настройки отправки сообщений из СРМ по почте.
#Адрес и пароль почты, от которой идет отправка сообщений клиентам.
spring.mail.password=dyfjjvqdravhktjc
#Настройки подключения к почтовому серверу google, можно не менять.
spring.mail.host=smtp.gmail.com
spring.mail.test-connection=false
spring.mail.properties.mail.smtp.starttls.enable=true
spring.mail.properties.mail.smtp.auth=true
spring.mail.properties.mail.transport.protocol=smtp
spring.mail.properties.mail.debug=true
spring.mail.properties.mail.smtp.port=587
spring.mail.properties.mail.smtp.starttls.required=false
#Версия диалекта thymeleaf.
thymeleaf-layout-dialect.version=2.1.1
spring.task.execution.pool.max-threads=16
spring.task.execution.pool.queue-capacity=100
spring.task.execution.pool.keep-alive=10s
logging.config=file:logback.xml