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
docker:
compose:
lifecycle-management: start-only
2026-03-15 17:38:23 +01:00
servlet:
multipart:
max-file-size: 5MB
max-request-size: 50MB
# session:
# 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"