Advertisement
Guest User

Untitled

a guest
Jan 25th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.31 KB | None | 0 0
  1. # ===================================================================
  2. # Spring Boot configuration for the "dev" 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. profiles:
  18. active: dev
  19. include: swagger
  20. devtools:
  21. restart:
  22. enabled: true
  23. livereload:
  24. enabled: false # we use gulp + BrowserSync for livereload
  25. jackson:
  26. serialization.indent_output: true
  27. data:
  28. mongodb:
  29. uri: mongodb://localhost:27017
  30. database: blablaapp
  31. username:
  32. password:
  33. messages:
  34. cache-seconds: 1
  35. thymeleaf:
  36. cache: false
  37.  
  38. # ===================================================================
  39. # To enable SSL, generate a certificate using:
  40. # keytool -genkey -alias blablaapp -storetype PKCS12 -keyalg RSA -keysize 2048 -keystore keystore.p12 -validity 3650
  41. #
  42. # You can also use Let's Encrypt:
  43. # https://maximilian-boehm.com/hp2121/Create-a-Java-Keystore-JKS-from-Let-s-Encrypt-Certificates.htm
  44. #
  45. # Then, modify the server.ssl properties so your "server" configuration looks like:
  46. #
  47. # server:
  48. # port: 8443
  49. # ssl:
  50. # key-store: keystore.p12
  51. # key-store-password: <your-password>
  52. # keyStoreType: PKCS12
  53. # keyAlias: blablaapp
  54. # ===================================================================
  55. server:
  56. port: 8080
  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. # CORS is only enabled by default with the "dev" profile, so BrowserSync can access the API
  68. cors:
  69. allowed-origins: "*"
  70. allowed-methods: "*"
  71. allowed-headers: "*"
  72. exposed-headers: "Authorization"
  73. allow-credentials: true
  74. max-age: 1800
  75. security:
  76. authentication:
  77. jwt:
  78. secret: my-secret-token-to-change-in-production
  79. # Token is valid 24 hours
  80. token-validity-in-seconds: 86400
  81. token-validity-in-seconds-for-remember-me: 2592000
  82. mail: # specific JHipster mail property, for standard properties see MailProperties
  83. from: blablaapp@localhost
  84. base-url: http://127.0.0.1:8080
  85. metrics: # DropWizard Metrics configuration, used by MetricsConfiguration
  86. jmx.enabled: true
  87. graphite: # Use the "graphite" Maven profile to have the Graphite dependencies
  88. enabled: false
  89. host: localhost
  90. port: 2003
  91. prefix: blablaapp
  92. prometheus: # Use the "prometheus" Maven profile to have the Prometheus dependencies
  93. enabled: false
  94. endpoint: /prometheusMetrics
  95. logs: # Reports Dropwizard metrics in the logs
  96. enabled: false
  97. report-frequency: 60 # in seconds
  98. logging:
  99. logstash: # Forward logs to logstash over a socket, used by LoggingConfiguration
  100. enabled: false
  101. host: localhost
  102. port: 5000
  103. queue-size: 512
  104.  
  105.  
  106. # ===================================================================
  107. # Application specific properties
  108. # Add your own application properties here, see the ApplicationProperties class
  109. # to have type-safe configuration, like in the JHipsterProperties above
  110. #
  111. # More documentation is available at:
  112. # http://www.jhipster.tech/common-application-properties/
  113. # ===================================================================
  114.  
  115. application:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement