Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ===================================================================
- # Spring Boot configuration for the "prod" profile.
- #
- # This configuration overrides the application.yml file.
- # ===================================================================
- # ===================================================================
- # Standard Spring Boot properties.
- # Full reference is available at:
- # http://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html
- # ===================================================================
- spring:
- devtools:
- restart:
- enabled: false
- livereload:
- enabled: false
- datasource:
- url: jdbc:mysql://localhost:3306/frontend?useUnicode=true&characterEncoding=utf8&useSSL=false
- name:
- 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.cache.use_second_level_cache: true
- hibernate.cache.use_query_cache: false
- hibernate.generate_statistics: false
- hibernate.cache.region.factory_class: org.hibernate.cache.ehcache.SingletonEhCacheRegionFactory
- data:
- elasticsearch:
- cluster-name:
- cluster-nodes: localhost:9300
- mail:
- host: localhost
- port: 25
- username:
- password:
- thymeleaf:
- cache: true
- multipart:
- maxFileSize: 10MB
- maxRequestSize: 50MB
- liquibase:
- contexts: prod
- server:
- port: 9000
- compression:
- enabled: true
- mime-types: text/html,text/xml,text/plain,text/css, application/javascript, application/json
- min-response-size: 1024
- # ===================================================================
- # JHipster specific properties
- # ===================================================================
- jhipster:
- http:
- cache: # Used by the CachingHttpHeadersFilter
- timeToLiveInDays: 1461
- cache: # Hibernate 2nd level cache, used by CacheConfiguration
- timeToLiveSeconds: 3600
- hazelcast:
- backupCount: 1
- ehcache:
- maxBytesLocalHeap: 256M
- security:
- authentication:
- oauth:
- clientid: frontendapp
- secret: my-secret-token-to-change-in-production
- # Token is valid 30 minutes
- tokenValidityInSeconds: 1800
- mail: # specific JHipster mail property, for standard properties see MailProperties
- from: frontend@localhost
- metrics: # DropWizard Metrics configuration, used by MetricsConfiguration
- jmx.enabled: true
- spark:
- enabled: false
- host: localhost
- port: 9999
- graphite:
- enabled: false
- host: localhost
- port: 2003
- prefix: frontend
- logs: # Reports Dropwizard metrics in the logs
- enabled: false
- reportFrequency: 60 # in seconds
- logging:
- logstash: # Forward logs to logstash over a socket, used by LoggingConfiguration
- enabled: false
- host: localhost
- port: 5000
- queueSize: 512
- swagger: # swagger is disabled. It can be disabled by pasing 'no-swagger' profile at run time as well
- enabled: false
Add Comment
Please, Sign In to add comment