rans90.dream-api.0.0.3.source-code.application-prod.yml Maven / Gradle / Ivy
server:
port: 8097
servlet:
context-path: /api
spring:
datasource:
url: jdbc:mysql://localhost/dreams?reconnect=true&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=UTC
username: dreams
password: dreams
# url: jdbc:mysql://b11c20d8b0072b:[email protected]/heroku_e02a8e301fce012?reconnect=true&useUnicode=yes&characterEncoding=UTF-8
# username: b11c20d8b0072b
# password: 63724c3c
# url: jdbc:mysql://b25a6b9f5fa7e0:[email protected]/heroku_a3f09b1e26f145a?reconnect=true&useUnicode=yes&characterEncoding=UTF-8
# username: b25a6b9f5fa7e0
# password: 70604f76
# url: jdbc:mysql://remotemysql.com:3306/2inpzu9xxI?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC
# username: 2inpzu9xxI
# password: b7CESu6efU
jpa:
hibernate:
ddl-auto: update
dialect: org.hibernate.dialect.MySQLDialect
show-sql: true
properties.hibernate.format_sql: true
main:
allow-bean-definition-overriding: true
mvc:
async:
#keep SSE HTTP connection open for 6 hours
request-timeout: 21600000
jwt:
header: Authorization
secret: mySecret
expiration: 86400000
sse_interval: 15 #Number of seconds to pass after sending object via sse, in order to send another one
sse_timeout: 30 #Number of seconds after which clients will be disconnected from sse stream
logging:
config: classpath:log4j2.xml
level:
org.springframework: INFO