Version 2022

Başlangıç Parametreleri

 spring:
  application:
    name: mono-app
  datasource:
    driver-class-name: org.postgresql.Driver
    url: jdbc:postgresql://localhost:5432/promis
    username: postgres
    password: 1907
  jpa:
    properties:
      hibernate:
        default_schema: inscada
        jdbc:
          batch_size: 50
        order_inserts: true
        order_updates: true
        cache:
          use_second_level_cache: true
          use_query_cache: true
          region.factory_class: org.hibernate.cache.ehcache.EhCacheRegionFactory
  redis:
    host: localhost
    port: 6379
  influxdb:
    database: inscada
    url: http://localhost:8086
    imp-exp-url: http://localhost:8088
    path: influxd
  http:
    multipart:
      max-file-size: 10MB
      max-request-size: 10MB

flyway:
  schemas: inscada

security:
  require-ssl: true

server:
  port: 8082
  ssl:
    enabled: true
    key-alias: tomcat
    key-store: classpath:keystore.p12
    key-store-type: PKCS12
    key-store-password: dell3110
  http:
    port: 8081

ins:
  files:
    path: ./fs
  notification:
    period: 500

---

spring:
  profiles: dev
  jpa:
    properties:
      hibernate:
        show_sql: true
        use_sql_comments: true
        generate_statistics: false
        format_sql: true
        type: trace
  influxdb:
    path: C:\Program Files\influxdb-1.7.6-1\influxd

---

spring:
  profiles: production
  jpa:
    properties:
      hibernate:
        show_sql: false
  main:
    banner-mode: "OFF"
  influxdb:
    gzip: true

Last updated