rans90.dream-api.1.0.3.source-code.application-qa.yml Maven / Gradle / Ivy
The newest version!
server:
port: 8097
servlet:
context-path: /api
spring:
datasource:
url: jdbc:mysql://b11c20d8b0072b:[email protected]/heroku_e02a8e301fce012?reconnect=true&useUnicode=yes&characterEncoding=UTF-8
username: b11c20d8b0072b
password: 63724c3c
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
the_key: some_test_key
allowed_origins: https://localhost:4200,https://localhost:8097,http://localhost:4200,http://localhost:8097,https://dream-api-be.herokuapp.com,http://dream-api-be.herokuapp.com,https://dream-fe.herokuapp.com,http://dream-fe.herokuapp.com
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
ip_header: X-Real-IP #Header name which has the client's real IP address. Set up by nginx