All Downloads are FREE. Search and download functionalities are using the official Maven repository.

rans90.dream-api.1.0.3.source-code.application-prod.yml Maven / Gradle / Ivy

The newest version!
server:
  port: 8097
  servlet:
    context-path: /api

spring:
  datasource:
    url: jdbc:mysql://localhost/dreams?reconnect=true&useUnicode=yes&characterEncoding=UTF-8&serverTimezone=UTC
    username: REPLACE_ME
    password: REPLACE_ME
  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: REPLACE_ME
allowed_origins: http://sanjam.rs,http://api.sanjam.rs,http://stage.sanjam.rs,http://stage.api.sanjam.rs

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





© 2015 - 2024 Weber Informatics LLC | Privacy Policy