Guest User

Untitled

a guest
Mar 12th, 2018
329
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.23 KB | None | 0 0
  1. # ===================================================================
  2. # Spring Boot configuration for the "prod" profile.
  3. #
  4. # This configuration overrides the application.yml file.
  5. #
  6. # More information on profiles: http://www.jhipster.tech/profiles/
  7. # More information on configuration properties: http://www.jhipster.tech/common-application-properties/
  8. # ===================================================================
  9.  
  10. # ===================================================================
  11. # Standard Spring Boot properties.
  12. # Full reference is available at:
  13. # http://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html
  14. # ===================================================================
  15.  
  16. logging:
  17. level:
  18. ROOT: INFO
  19. com.beequote: INFO
  20. io.github.jhipster: INFO
  21.  
  22. spring:
  23. profiles:
  24. include: swagger
  25. devtools:
  26. restart:
  27. enabled: false
  28. livereload:
  29. enabled: false
  30. datasource:
  31. type: com.zaxxer.hikari.HikariDataSource
  32. url: jdbc:mysql://localhost:3306/beequote?useUnicode=true&characterEncoding=utf8&useSSL=false
  33. username: root
  34. password: mysql
  35. hikari:
  36. data-source-properties:
  37. cachePrepStmts: true
  38. prepStmtCacheSize: 250
  39. prepStmtCacheSqlLimit: 2048
  40. useServerPrepStmts: true
  41. jpa:
  42. database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
  43. database: MYSQL
  44. show-sql: false
  45. properties:
  46. hibernate.id.new_generator_mappings: true
  47. hibernate.cache.use_second_level_cache: false
  48. hibernate.cache.use_query_cache: false
  49. hibernate.generate_statistics: false
  50. mail:
  51. host: smtp.gmail.com
  52. port: 587
  53. username: myemailid@gmail.com
  54. password: mypassword
  55. protocol: smtp
  56. tls: true
  57. properties.mail.smtp:
  58. auth: true
  59. starttls.enable: true
  60. ssl.trust: smtp.gmail.com
  61. messages:
  62. cache-seconds: 1
  63. thymeleaf:
  64. cache: false
  65.  
  66. liquibase:
  67. contexts: prod
  68.  
  69. # ===================================================================
  70. # To enable SSL, generate a certificate using:
  71. # keytool -genkey -alias beequote -storetype PKCS12 -keyalg RSA -keysize 2048 -keystore keystore.p12 -validity 3650
  72. #
  73. # You can also use Let's Encrypt:
  74. # https://maximilian-boehm.com/hp2121/Create-a-Java-Keystore-JKS-from-Let-s-Encrypt-Certificates.htm
  75. #
  76. # Then, modify the server.ssl properties so your "server" configuration looks like:
  77. #
  78. # server:
  79. # port: 443
  80. # ssl:
  81. # key-store: keystore.p12
  82. # key-store-password: <your-password>
  83. # key-store-type: PKCS12
  84. # key-alias: beequote
  85. # =================================================================== server:
  86. port: 8080
  87. compression:
  88. enabled: true
  89. mime-types: text/html,text/xml,text/plain,text/css, application/javascript, application/json
  90. min-response-size: 1024
  91.  
  92. # ===================================================================
  93. # JHipster specific properties
  94. #
  95. # Full reference is available at: http://www.jhipster.tech/common-application-properties/
  96. # ===================================================================
  97.  
  98. jhipster:
  99. http:
  100. version: V_1_1 # To use HTTP/2 you will need SSL support (see above the "server.ssl" configuration)
  101. cache: # Used by the CachingHttpHeadersFilter
  102. timeToLiveInDays: 1461
  103. cache: # Cache configuration
  104. ehcache: # Ehcache configuration
  105. time-to-live-seconds: 3600 # By default objects stay 1 hour in the cache
  106. max-entries: 1000 # Number of objects in each cache entry
  107. security:
  108. authentication:
  109. jwt:
  110. secret: 5801fb3b6e3948fb54843c9b4ee6e8ca239fade8
  111. # Token is valid 24 hours
  112. token-validity-in-seconds: 86400
  113. token-validity-in-seconds-for-remember-me: 2592000
  114. mail: # specific JHipster mail property, for standard properties see MailProperties
  115. from: beequote@localhost
  116. base-url: https://quote.roambee.com # Modify according to your server's URL
  117. metrics: # DropWizard Metrics configuration, used by MetricsConfiguration
  118. jmx.enabled: true
  119. graphite:
  120. enabled: false
  121. host: localhost
  122. port: 2003
  123. prefix: beequote
  124. prometheus:
  125. enabled: false
  126. endpoint: /prometheusMetrics
  127. logs: # Reports Dropwizard metrics in the logs
  128. enabled: false
  129. report-frequency: 60 # in seconds
  130. logging:
  131. logstash: # Forward logs to logstash over a socket, used by LoggingConfiguration
  132. enabled: true
  133. host: localhost
  134. port: 5000
  135. queue-size: 512
  136.  
  137.  
  138. # ===================================================================
  139. # Application specific properties
  140. # Add your own application properties here, see the ApplicationProperties class
  141. # to have type-safe configuration, like in the JHipsterProperties above
  142. #
  143. # More documentation is available at:
  144. # http://www.jhipster.tech/common-application-properties/
  145. # ===================================================================
  146.  
  147. application:
Add Comment
Please, Sign In to add comment