-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapplication.properties
More file actions
executable file
·41 lines (32 loc) · 1.3 KB
/
application.properties
File metadata and controls
executable file
·41 lines (32 loc) · 1.3 KB
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
# DATAS
#============================================
# Datasource configuration
spring.datasource.url=${SDS_URL}
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.username=${SDS_USER}
spring.datasource.password=${SDS_PW}
#-> JPA
# Permits Hibernate create tables before data.sql loading
spring.jpa.defer-datasource-initialization=true
# Control the behavior of database schema management
spring.jpa.hibernate.ddl-auto=create-drop
#Show requests in shell
spring.jpa.show-sql=true
# More readable SQL requests
spring.jpa.properties.hibernate.format_sql=true
# This command is mandatory for any script-based initialization (here data.sql):
spring.sql.init.mode=always
# HOSTS
# ============================================
#Frontend server
inote.frontend.host=${FRONTEND_HOST}
#MAIL
#================================================
#spring.mail.password=
#spring.mail.username=
spring.mail.host=localhost
spring.mail.port=25
spring.mail.protocol=smtp
# avoid setting this to true when using a per-test-method GreenMail server
spring.mail.test-connection=false
inote.backend.mail.notreply=${BACKEND_MAIL_NOTREPLY}