23 lines
518 B
YAML
23 lines
518 B
YAML
|
|
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}
|