blob: 4eb3c482d9e5089e6f6e2311ddc37eb2680d5b1a [file] [log] [blame]
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -04001
2server:
3 port: 8080
4
5spring:
6 datasource:
Benjamin, Max (mb388a)6fa3d2b2018-09-29 10:41:54 -04007 jdbc-url: jdbc:mariadb://${DB_HOST}:${DB_PORT}/catalogdb
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -04008 username: ${DB_USERNAME}
9 password: ${DB_PASSWORD}
10 driver-class-name: org.mariadb.jdbc.Driver
11 dbcp2:
12 initial-size: 5
13 max-total: 20
14 validation-query: select 1
15 test-on-borrow: true
16 jpa:
17 show-sql: true
18 hibernate:
19 dialect: org.hibernate.dialect.MySQL5Dialect
20 ddl-auto: validate
21 naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy
22 enable-lazy-load-no-trans: true
23
24request:
25 datasource:
Benjamin, Max (mb388a)6fa3d2b2018-09-29 10:41:54 -040026 jdbc-url: jdbc:mariadb://${DB_HOST}:${DB_PORT}/requestdb
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040027 username: ${DB_USERNAME}
28 password: ${DB_PASSWORD}
29 driver-class-name: org.mariadb.jdbc.Driver
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040030
31#Actuator
Benjamin, Max (mb388a)6fa3d2b2018-09-29 10:41:54 -040032management:
33 endpoints:
34 web:
35 base-path: /manage
36 server:
37 servlet:
38 context-path: /manage
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040039 metrics:
40 se-global-registry: false
41 export:
42 prometheus:
43 enabled: true # Whether exporting of metrics to Prometheus is enabled.
Benjamin, Max (mb388a)6fa3d2b2018-09-29 10:41:54 -040044 step: 1m # Step size (i.e. reporting frequency) to use.
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040045