123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163 |
- # ===================================================================
- # Spring Boot configuration for the "prod" profile.
- #
- # This configuration overrides the application.yml file.
- #
- # More information on profiles: http://www.jhipster.tech/profiles/
- # More information on configuration properties: http://www.jhipster.tech/common-application-properties/
- # ===================================================================
- # ===================================================================
- # Standard Spring Boot properties.
- # Full reference is available at:
- # http://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html
- # ===================================================================
- logging:
- level:
- ROOT: INFO
- com.edazone.msj.ms1: INFO
- io.github.jhipster: INFO
- eureka:
- instance:
- prefer-ip-address: true
- client:
- service-url:
- defaultZone: http://admin:${jhipster.registry.password}@localhost:8761/eureka/
- spring:
- devtools:
- restart:
- enabled: false
- livereload:
- enabled: false
- datasource:
- type: com.zaxxer.hikari.HikariDataSource
- url: jdbc:mysql://localhost:3306/ms1?useUnicode=true&characterEncoding=utf8&useSSL=false
- username: root
- password:
- hikari:
- data-source-properties:
- cachePrepStmts: true
- prepStmtCacheSize: 250
- prepStmtCacheSqlLimit: 2048
- useServerPrepStmts: true
- jpa:
- database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
- database: MYSQL
- show-sql: false
- properties:
- hibernate.id.new_generator_mappings: true
- hibernate.cache.use_second_level_cache: false
- hibernate.cache.use_query_cache: false
- hibernate.generate_statistics: false
- mail:
- host: localhost
- port: 25
- username:
- password:
- thymeleaf:
- cache: true
- zipkin: # Use the "zipkin" Maven profile to have the Spring Cloud Zipkin dependencies
- base-url: http://localhost:9411
- enabled: false
- locator:
- discovery:
- enabled: true
- liquibase:
- contexts: prod
- # ===================================================================
- # To enable SSL, generate a certificate using:
- # keytool -genkey -alias ms1 -storetype PKCS12 -keyalg RSA -keysize 2048 -keystore keystore.p12 -validity 3650
- #
- # You can also use Let's Encrypt:
- # https://maximilian-boehm.com/hp2121/Create-a-Java-Keystore-JKS-from-Let-s-Encrypt-Certificates.htm
- #
- # Then, modify the server.ssl properties so your "server" configuration looks like:
- #
- # server:
- # port: 443
- # ssl:
- # key-store: keystore.p12
- # key-store-password: <your-password>
- # key-store-type: PKCS12
- # key-alias: ms1
- # # The ciphers suite enforce the security by deactivating some old and deprecated SSL cipher, this list was tested against SSL Labs (https://www.ssllabs.com/ssltest/)
- # ciphers: TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 ,TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 ,TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 ,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,TLS_DHE_RSA_WITH_AES_128_CBC_SHA256,TLS_DHE_RSA_WITH_AES_128_CBC_SHA,TLS_DHE_RSA_WITH_AES_256_CBC_SHA256,TLS_DHE_RSA_WITH_AES_256_CBC_SHA,TLS_RSA_WITH_AES_128_GCM_SHA256,TLS_RSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_256_CBC_SHA256,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_256_CBC_SHA,TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA,TLS_RSA_WITH_CAMELLIA_256_CBC_SHA,TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA,TLS_RSA_WITH_CAMELLIA_128_CBC_SHA
- # ===================================================================
- server:
- port: 8081
- compression:
- enabled: true
- mime-types: text/html,text/xml,text/plain,text/css, application/javascript, application/json
- min-response-size: 1024
- # ===================================================================
- # JHipster specific properties
- #
- # Full reference is available at: http://www.jhipster.tech/common-application-properties/
- # ===================================================================
- jhipster:
- http:
- version: V_1_1 # To use HTTP/2 you will need SSL support (see above the "server.ssl" configuration)
- cache: # Used by the CachingHttpHeadersFilter
- timeToLiveInDays: 1461
- security:
- client-authorization:
- access-token-uri: http://msauth/oauth/token
- token-service-id: msauth
- client-id: internal
- client-secret: internal
- mail: # specific JHipster mail property, for standard properties see MailProperties
- from: ms1@localhost
- base-url: http://my-server-url-to-change # Modify according to your server's URL
- metrics: # DropWizard Metrics configuration, used by MetricsConfiguration
- jmx.enabled: true
- graphite:
- enabled: false
- host: localhost
- port: 2003
- prefix: ms1
- prometheus:
- enabled: false
- endpoint: /prometheusMetrics
- logs: # Reports Dropwizard metrics in the logs
- enabled: false
- report-frequency: 60 # in seconds
- logging:
- logstash: # Forward logs to logstash over a socket, used by LoggingConfiguration
- enabled: false
- host: localhost
- port: 5000
- queue-size: 512
- spectator-metrics: # Reports Spectator Circuit Breaker metrics in the logs
- enabled: false
- # edit spring.metrics.export.delay-millis to set report frequency
- oauth2:
- signature-verification:
- public-key-endpoint-uri: http://msauth/oauth/token_key
- #ttl for public keys to verify JWT tokens (in ms)
- ttl: 3600000
- #max. rate at which public keys will be fetched (in ms)
- public-key-refresh-rate-limit: 10000
- web-client-configuration:
- #change client secret in production, keep in sync with UAA configuration
- client-id: web_app
- secret: changeit
- # ===================================================================
- # Application specific properties
- # Add your own application properties here, see the ApplicationProperties class
- # to have type-safe configuration, like in the JHipsterProperties above
- #
- # More documentation is available at:
- # http://www.jhipster.tech/common-application-properties/
- # ===================================================================
- application:
|