JBear2/src/main/resources/config/application.yml

23 lines
518 B
YAML
Raw Normal View History

2024-08-16 10:50:57 +02:00
spring:
application:
name: "jeobeardy"
jpa:
show-sql: true
hibernate:
auto-ddl: create
generate-ddl: true
properties:
hibernate:
dialect: org.hibernate.dialect.PostgreSQLDialect
default-schema: jeobeardy-app
open-in-view: false
server:
address: localhost
port: 8008
application:
cors-allowed-methods: ["GET", "POST", "DELETE", "OPTIONS"]
jwt-cookie-name: "user_jwt"
jwt-expiration-ms: 86400000 #1000 * 60 * 60 * 24 = 1 day
jwt-secret: ${JWT_SECRET}