Files
skamp/src/main/resources/application.yml
Murat Özkorkmaz 9464b75ed4
Some checks failed
Build, Push and Deploy / build-and-deploy (push) Failing after 7m37s
CI test
2025-10-21 23:58:36 +02:00

62 lines
1.6 KiB
YAML

spring:
servlet:
multipart:
max-file-size: 1000MB # Maximal zulässige Größe pro Datei (z.B. 10 MB)
max-request-size: 5000MB # Maximal zulässige Größe der gesamten Anfrage (z.B. 50 MB)
profiles:
active: ${SPRING_PROFILES_ACTIVE:prod}
application:
name: ${APPLICATION_NAME:skamp-api}
datasource:
url: jdbc:postgresql://${POSTGRES_HOST:localhost}:${POSTGRES_PORT:5432}/${POSTGRES_DB:skamp}
username: ${POSTGRES_USER:dev}
password: ${POSTGRES_PASSWORD:dev}
driver-class-name: org.postgresql.Driver
jpa:
hibernate:
ddl-auto: update # möglich: validate, update, create, create-drop
show-sql: true
properties:
hibernate:
format_sql: true
# database-platform: org.hibernate.dialect.PostgreSQLDialect
# datasource:
# url: jdbc:h2:mem:demo;DB_CLOSE_DELAY=-1
# driver-class-name: org.h2.Driver
# username: sa
# password:
# jpa:
# hibernate:
# ddl-auto: update
# show-sql: true
# h2:
# console:
# enabled: true
security:
oauth2:
resourceserver:
jwt:
issuer-uri: ${KEYCLOAK_ISSUER_URI:http://localhost:8280/realms/skamp}
jwk-set-uri: ${spring.security.oauth2.resourceserver.jwt.issuer-uri}/protocol/openid-connect/certs
logging:
level:
org:
hibernate:
type.descriptor.sql.BasicBinder: TRACE
SQL: DEBUG
springframework:
security: DEBUG
cors:
allowed-origins:
- ${CORS_ALLOWED_ORIGINS:http://localhost:4200}
allowed-headers: "*"
s3:
access-key: ${MINIO_ACCESS_KEY:dev}
secret-key: ${MINIO_SECRET_KEY:dev123456}
endpoint: ${MINIO_ENDPOINT:http://localhost:9000}