77 lines
2.0 KiB
YAML
77 lines
2.0 KiB
YAML
info:
|
|
description: File Management Service V1 Server
|
|
|
|
redaction-service.url: "http://redaction-service-v1:8080"
|
|
pdftron-redaction-service.url: "http://pdftron-redaction-service-v1:8080"
|
|
redaction-report-service.url: "http://redaction-report-service-v1:8080"
|
|
search-service.url: "http://search-service-v1:8080"
|
|
|
|
server:
|
|
port: 8080
|
|
|
|
spring:
|
|
|
|
datasource:
|
|
url: jdbc:postgresql://${PSQL_HOST:localhost}:${PSQL_PORT:5432}/${PSQL_DATABASE:redaction}
|
|
driverClassName: org.postgresql.Driver
|
|
username: ${PSQL_USERNAME:redaction}
|
|
password: ${PSQL_PASSWORD:redaction}
|
|
platform: org.hibernate.dialect.PostgreSQL95Dialect
|
|
hikari:
|
|
data-source-properties:
|
|
cachePrepStmts: true
|
|
prepStmtCacheSize: 1000
|
|
prepStmtCacheSqlLimit: 2048
|
|
jpa:
|
|
database-platform: org.hibernate.dialect.PostgreSQL95Dialect
|
|
hibernate:
|
|
ddl-auto: none
|
|
naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy
|
|
properties:
|
|
hibernate:
|
|
jdbc:
|
|
batch_size: 50
|
|
order_inserts: true
|
|
order_updates: true
|
|
|
|
|
|
profiles:
|
|
active: kubernetes
|
|
rabbitmq:
|
|
host: ${RABBITMQ_HOST:localhost}
|
|
port: ${RABBITMQ_PORT:5672}
|
|
username: ${RABBITMQ_USERNAME:user}
|
|
password: ${RABBITMQ_PASSWORD:rabbitmq}
|
|
listener:
|
|
simple:
|
|
acknowledge-mode: AUTO
|
|
concurrency: 5
|
|
retry:
|
|
enabled: true
|
|
max-attempts: 3
|
|
max-interval: 15000
|
|
prefetch: 1
|
|
|
|
liquibase:
|
|
change-log: classpath:/db/changelog/db.changelog-master.yaml
|
|
|
|
management:
|
|
endpoint:
|
|
metrics.enabled: ${monitoring.enabled:false}
|
|
prometheus.enabled: ${monitoring.enabled:false}
|
|
health.enabled: true
|
|
endpoints.web.exposure.include: prometheus, health, metrics
|
|
metrics.export.prometheus.enabled: ${monitoring.enabled:false}
|
|
|
|
metrics:
|
|
persistence:
|
|
enabled: ${monitoring.enabled:false}
|
|
|
|
storage:
|
|
signer-type: 'AWSS3V4SignerType'
|
|
bucket-name: 'redaction'
|
|
region: 'us-east-1'
|
|
endpoint: 'https://s3.amazonaws.com'
|
|
backend: 's3'
|
|
|