Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 1 | |
| 2 | server: |
| 3 | port: 8080 |
| 4 | |
| 5 | spring: |
| 6 | datasource: |
Benjamin, Max (mb388a) | 6fa3d2b | 2018-09-29 10:41:54 -0400 | [diff] [blame^] | 7 | jdbc-url: jdbc:mariadb://${DB_HOST}:${DB_PORT}/catalogdb |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 8 | 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 | |
| 24 | request: |
| 25 | datasource: |
Benjamin, Max (mb388a) | 6fa3d2b | 2018-09-29 10:41:54 -0400 | [diff] [blame^] | 26 | jdbc-url: jdbc:mariadb://${DB_HOST}:${DB_PORT}/requestdb |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 27 | username: ${DB_USERNAME} |
| 28 | password: ${DB_PASSWORD} |
| 29 | driver-class-name: org.mariadb.jdbc.Driver |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 30 | |
| 31 | #Actuator |
Benjamin, Max (mb388a) | 6fa3d2b | 2018-09-29 10:41:54 -0400 | [diff] [blame^] | 32 | management: |
| 33 | endpoints: |
| 34 | web: |
| 35 | base-path: /manage |
| 36 | server: |
| 37 | servlet: |
| 38 | context-path: /manage |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 39 | metrics: |
| 40 | se-global-registry: false |
| 41 | export: |
| 42 | prometheus: |
| 43 | enabled: true # Whether exporting of metrics to Prometheus is enabled. |
Benjamin, Max (mb388a) | 6fa3d2b | 2018-09-29 10:41:54 -0400 | [diff] [blame^] | 44 | step: 1m # Step size (i.e. reporting frequency) to use. |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 45 | |