Advertisement
Guest User

Untitled

a guest
Jan 25th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.04 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. spring:
  17. devtools:
  18. restart:
  19. enabled: false
  20. livereload:
  21. enabled: false
  22. data:
  23. mongodb:
  24. uri: mongodb://localhost:27017
  25. database: blablaapp
  26. mail:
  27. host: localhost
  28. port: 25
  29. username:
  30. password:
  31. thymeleaf:
  32. cache: true
  33.  
  34. # ===================================================================
  35. # To enable SSL, generate a certificate using:
  36. # keytool -genkey -alias blablaapp -storetype PKCS12 -keyalg RSA -keysize 2048 -keystore keystore.p12 -validity 3650
  37. #
  38. # You can also use Let's Encrypt:
  39. # https://maximilian-boehm.com/hp2121/Create-a-Java-Keystore-JKS-from-Let-s-Encrypt-Certificates.htm
  40. #
  41. # Then, modify the server.ssl properties so your "server" configuration looks like:
  42. #
  43. # server:
  44. # port: 443
  45. # ssl:
  46. # key-store: keystore.p12
  47. # key-store-password: <your-password>
  48. # keyStoreType: PKCS12
  49. # keyAlias: blablaapp
  50. # ===================================================================
  51. server:
  52. port: 8080
  53. compression:
  54. enabled: true
  55. mime-types: text/html,text/xml,text/plain,text/css, application/javascript, application/json
  56. min-response-size: 1024
  57.  
  58. # ===================================================================
  59. # JHipster specific properties
  60. #
  61. # Full reference is available at: http://www.jhipster.tech/common-application-properties/
  62. # ===================================================================
  63.  
  64. jhipster:
  65. http:
  66. version: V_1_1 # To use HTTP/2 you will need SSL support (see above the "server.ssl" configuration)
  67. cache: # Used by the CachingHttpHeadersFilter
  68. timeToLiveInDays: 1461
  69. security:
  70. authentication:
  71. jwt:
  72. secret: 3747759ad66876f5745ff19dad88438be49cd3ba
  73. # Token is valid 24 hours
  74. token-validity-in-seconds: 86400
  75. token-validity-in-seconds-for-remember-me: 2592000
  76. mail: # specific JHipster mail property, for standard properties see MailProperties
  77. from: blablaapp@localhost
  78. base-url: http://my-server-url-to-change # Modify according to your server's URL
  79. metrics: # DropWizard Metrics configuration, used by MetricsConfiguration
  80. jmx.enabled: true
  81. graphite:
  82. enabled: false
  83. host: localhost
  84. port: 2003
  85. prefix: blablaapp
  86. prometheus:
  87. enabled: false
  88. endpoint: /prometheusMetrics
  89. logs: # Reports Dropwizard metrics in the logs
  90. enabled: false
  91. report-frequency: 60 # in seconds
  92. logging:
  93. logstash: # Forward logs to logstash over a socket, used by LoggingConfiguration
  94. enabled: false
  95. host: localhost
  96. port: 5000
  97. queue-size: 512
  98.  
  99.  
  100. # ===================================================================
  101. # Application specific properties
  102. # Add your own application properties here, see the ApplicationProperties class
  103. # to have type-safe configuration, like in the JHipsterProperties above
  104. #
  105. # More documentation is available at:
  106. # http://www.jhipster.tech/common-application-properties/
  107. # ===================================================================
  108.  
  109. application:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement