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

42 lines
798 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
2026-03-15 17:38:23 +01:00
servlet:
multipart:
2026-04-23 20:56:57 +02:00
max-file-size: 1MB
max-request-size: 40MB
session:
store-type: jdbc
jdbc:
initialize-schema: always
2026-03-15 17:38:23 +01:00
# redis:
# flush-mode: on_save
# namespace: spring:session
# data:
# redis:
# host: localhost
# password:
# port: 6379
2024-08-16 10:50:57 +02:00
server:
address: localhost
port: 8008
2026-03-15 17:38:23 +01:00
# servlet:
# session:
# timeout:
2024-08-16 10:50:57 +02:00
application:
2026-03-15 17:38:23 +01:00
cors-allowed-methods: ["GET", "POST", "PUT", "DELETE", "OPTIONS"]
storage:
fs:
location: "files"