blob: 4f423ca870d8152f756295c9424b3fc614767217 [file] [log] [blame]
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -04001# will be used as entry in DB to say SITE OFF/ON for healthcheck
2
3server:
4 port: 8080
5 tomcat:
6 max-threads: 50
7
8mso:
9 site-name: unknown
10 logPath: ./logs/reqdb/
11 infra-requests:
12 archived:
13 period: 180
14# H2
15spring:
16 datasource:
17 url: jdbc:mariadb://${DB_HOST}:${DB_PORT}/requestdb
18 username: ${DB_USERNAME}
19 password: ${DB_PASSWORD}
20 driver-class-name: org.mariadb.jdbc.Driver
21 dbcp2:
22 initial-size: 5
23 max-total: 20
24 validation-query: select 1
25 test-on-borrow: true
26 jpa:
27 show-sql: false
28 hibernate:
29 dialect: org.hibernate.dialect.MySQL5Dialect
30 ddl-auto: validate
31 naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy
32 enable-lazy-load-no-trans: true
33flyway:
34 baseline-on-migrate: false
35 url: jdbc:mariadb://${DB_HOST}:${DB_PORT}/requestdb
36 user: ${DB_ADMIN_USERNAME}
37 password: ${DB_ADMIN_PASSWORD}
38
39#Actuator
40management:
41 context-path: /manage
42 metrics:
43 se-global-registry: false
44 export:
45 prometheus:
46 enabled: true # Whether exporting of metrics to Prometheus is enabled.
47 step: 1m # Step size (i.e. reporting frequency) to use.