application.yaml
paperless-backend/src/main/resources/application.yaml
1spring:2 application:3 name: paperless4 servlet:5 multipart:6 max-file-size: ${MAX_UPLOAD_SIZE:50MB}7 max-request-size: ${MAX_UPLOAD_SIZE:50MB}8 datasource:9 url: ${SPRING_DATASOURCE_URL:jdbc:postgresql://localhost:5432/paperless}10 username: ${SPRING_DATASOURCE_USERNAME:paperless}11 password: ${SPRING_DATASOURCE_PASSWORD:paperless}12 driver-class-name: org.postgresql.Driver13 flyway:14 locations: classpath:db/migration/postgresql15 jpa:16 hibernate:17 ddl-auto: validate18 properties:19 hibernate:20 dialect: org.hibernate.dialect.PostgreSQLDialect21 open-in-view: false2223server:24 tomcat:25 # Drain near-limit rejected requests so clients can receive the HTTP 413 response.26 max-swallow-size: 51MB2728logging:29 level:30 at.fhtw.swen3.paperless: ${PAPERLESS_LOG_LEVEL:INFO}31 pattern:32 level: "%5p [requestId=%X{requestId:-none}]"3334springdoc:35 api-docs:36 path: /v3/api-docs37 enabled: true38 swagger-ui:39 path: /swagger-ui.html40 enabled: true41 operations-sorter: method42 tags-sorter: alpha4344elasticsearch:45 host: ${ELASTICSEARCH_HOST:localhost}46 port: ${ELASTICSEARCH_PORT:9200}47 username: ${ELASTIC_USER:elastic}48 password: ${ELASTIC_PASSWORD:paperless}49