Advertisement
Guest User

Untitled

a guest
Dec 24th, 2018
395
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.07 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: https://www.jhipster.tech/profiles/
  7. # More information on configuration properties: https://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.archangelsystems.tagueo: INFO
  20. io.github.jhipster: INFO
  21.  
  22. spring:
  23. devtools:
  24. restart:
  25. enabled: false
  26. livereload:
  27. enabled: false
  28. datasource:
  29. type: com.zaxxer.hikari.HikariDataSource
  30. url: jdbc:mariadb://127.0.0.1:3306/alicedb?useLegacyDatetimeCode=false
  31. username: root
  32. password: M@r!@D8
  33. hikari:
  34. auto-commit: false
  35. data-source-properties:
  36. cachePrepStmts: true
  37. prepStmtCacheSize: 250
  38. prepStmtCacheSqlLimit: 2048
  39. useServerPrepStmts: true
  40. jpa:
  41. database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
  42. database: MYSQL
  43. show-sql: false
  44. properties:
  45. hibernate.id.new_generator_mappings: true
  46. hibernate.connection.provider_disables_autocommit: true
  47. hibernate.cache.use_second_level_cache: true
  48. hibernate.cache.use_query_cache: false
  49. hibernate.generate_statistics: false
  50. hibernate.cache.region.factory_class: io.github.jhipster.config.jcache.BeanClassLoaderAwareJCacheRegionFactory
  51. liquibase:
  52. contexts: prod
  53. mail:
  54. host: smtp.gmail.com
  55. port: 587
  56. username: envios@archangelsystems.com
  57. password: $$S3rafin2018
  58. protocol: smtp
  59. tls: true
  60. properties.mail.smtp:
  61. auth: true
  62. starttls.enable: true
  63. ssl.trust: smtp.gmail.com
  64. thymeleaf:
  65. cache: true
  66.  
  67. # ===================================================================
  68. # To enable TLS in production, generate a certificate using:
  69. # keytool -genkey -alias tagueo -storetype PKCS12 -keyalg RSA -keysize 2048 -keystore keystore.p12 -validity 3650
  70. #
  71. # You can also use Let's Encrypt:
  72. # https://maximilian-boehm.com/hp2121/Create-a-Java-Keystore-JKS-from-Let-s-Encrypt-Certificates.htm
  73. #
  74. # Then, modify the server.ssl properties so your "server" configuration looks like:
  75. #
  76. # server:
  77. # port: 443
  78. # ssl:
  79. # key-store: classpath:config/tls/keystore.p12
  80. # key-store-password: password
  81. # key-store-type: PKCS12
  82. # key-alias: tagueo
  83. # # 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/)
  84. # 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
  85. # ===================================================================
  86. server:
  87. port: 8080
  88. compression:
  89. enabled: true
  90. mime-types: text/html,text/xml,text/plain,text/css, application/javascript, application/json
  91. min-response-size: 1024
  92.  
  93. # ===================================================================
  94. # JHipster specific properties
  95. #
  96. # Full reference is available at: https://www.jhipster.tech/common-application-properties/
  97. # ===================================================================
  98.  
  99. jhipster:
  100. http:
  101. version: V_1_1 # To use HTTP/2 you will need SSL support (see above the "server.ssl" configuration)
  102. cache: # Used by the CachingHttpHeadersFilter
  103. timeToLiveInDays: 1461
  104. cache: # Cache configuration
  105. ehcache: # Ehcache configuration
  106. time-to-live-seconds: 3600 # By default objects stay 1 hour in the cache
  107. max-entries: 1000 # Number of objects in each cache entry
  108. security:
  109. authentication:
  110. jwt:
  111. # This token must be encoded using Base64 (you can type `echo 'secret-key'|base64` on your command line)
  112. # As this is the PRODUCTION configuration, you MUST change the default key, and store it securely:
  113. # - In the JHipster Registry (which includes a Spring Cloud Config server)
  114. # - In a separate `application-prod.yml` file, in the same folder as your executable WAR file
  115. # - In the `JHIPSTER_SECURITY_AUTHENTICATION_JWT_BASE64_SECRET` environment variable
  116. base64-secret: NWQxY2YxNzQ1NDYwNjBjZTc2YTQxNjAzZDI3Njc5NGVjOGZlN2UxYTg2NzI3OTIxYTQzOTdiYjIwYjAyMmI2MjU3MjBkOWVmNmYwMTdmOTZlMDVlYTUwN2NjNzljOGZmMjMzNDUwODhmZDgzNTMyY2Y5M2NmNjE2MzIyZWI4Y2I=
  117. # Token is valid 24 hours
  118. token-validity-in-seconds: 86400
  119. token-validity-in-seconds-for-remember-me: 2592000
  120. mail: # specific JHipster mail property, for standard properties see MailProperties
  121. from: no-reply@gt.tagueo.com
  122. base-url: http://api.tagueo.com:8080 # Modify according to your server's URL
  123. metrics: # DropWizard Metrics configuration, used by MetricsConfiguration
  124. jmx:
  125. enabled: true
  126. prometheus:
  127. enabled: false #expose metrics via prometheus
  128. logs: # Reports Dropwizard metrics in the logs
  129. enabled: false
  130. report-frequency: 60 # in seconds
  131. logging:
  132. logstash: # Forward logs to logstash over a socket, used by LoggingConfiguration
  133. enabled: false
  134. host: 127.0.0.1
  135. port: 5000
  136. queue-size: 512
  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. # https://www.jhipster.tech/common-application-properties/
  145. # ===================================================================
  146.  
  147. # application:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement