Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 1 | # will be used as entry in DB to say SITE OFF/ON for healthcheck |
| 2 | |
| 3 | server: |
| 4 | port: 8080 |
| 5 | tomcat: |
| 6 | max-threads: 50 |
| 7 | |
| 8 | mso: |
| 9 | site-name: unknown |
| 10 | logPath: ./logs/reqdb/ |
| 11 | infra-requests: |
| 12 | archived: |
| 13 | period: 180 |
| 14 | # H2 |
| 15 | spring: |
| 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 |
| 33 | flyway: |
| 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 |
| 40 | management: |
| 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. |