29 lines
1.0 KiB
Properties
29 lines
1.0 KiB
Properties
#spring.config.activate.on-profile=dev,test,prod,prodtest
|
|
spring.config.use-legacy-processing = true
|
|
## Spring DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties)
|
|
spring.datasource.url = jdbc:mysql://localhost:3306/diet4you?serverTimezone=CET&useSSL=false&characterEncoding=UTF-8&allowMultiQueries=true
|
|
spring.datasource.username = aitrainer
|
|
spring.datasource.password = ENC(WZplPYr8WmrLHshesY4T6oXplK3MlUVJ)
|
|
|
|
|
|
## Hibernate Properties
|
|
|
|
|
|
# The SQL dialect makes Hibernate generate better SQL for the chosen database
|
|
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQLDialect
|
|
|
|
logging.config=classpath:logback-spring.xml
|
|
logging.file=logs
|
|
|
|
# if the database structure has been changed, increment this version number
|
|
application.version=1.2.9
|
|
|
|
jwt.secret=aitrainer
|
|
|
|
openai.key=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
|
|
firebase.key=AIzaSyBLn7Bz73Z1hB-OhqphBDsskOyGmpI7J8E
|
|
spring.mail.properties.mail.mime.charset=UTF-8
|
|
spring.http.encoding.charset=UTF-8
|
|
|
|
spring.mvc.cors.allowed-origins=*
|