Advertisement
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.
- #
- # More information on profiles: https://jhipster.github.io/profiles/
- # More information on configuration properties: https://jhipster.github.io/common-application-properties/
- # ===================================================================
- # ===================================================================
- # Standard Spring Boot properties.
- # Full reference is available at:
- # http://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html
- # ===================================================================
- eureka:
- instance:
- prefer-ip-address: true
- client:
- service-url:
- defaultZone: http://admin:${jhipster.registry.password}@localhost:8761/eureka/
- spring:
- autoconfigure:
- exclude: org.springframework.boot.autoconfigure.cassandra.CassandraAutoConfiguration
- devtools:
- restart:
- enabled: false
- livereload:
- enabled: false
- datasource:
- type: com.zaxxer.hikari.HikariDataSource
- url: jdbc:postgresql://localhost:5432/cinema
- username: cinema
- password: cinema
- jpa:
- database-platform: io.github.jhipster.domain.util.FixedPostgreSQL82Dialect
- database: POSTGRESQL
- show-sql: false
- properties:
- hibernate.id.new_generator_mappings: true
- hibernate.cache.use_second_level_cache: true
- hibernate.cache.use_query_cache: false
- hibernate.generate_statistics: false
- hibernate.cache.region.factory_class: io.github.jhipster.config.jcache.NoDefaultJCacheRegionFactory
- data:
- cassandra:
- contactPoints: localhost
- protocolVersion: V4
- compression: LZ4
- keyspaceName: cinema
- repositories:
- enabled: false
- mail:
- host: smtp.gmail.com
- port: 587
- username: cinemagtw@gmail.com
- password: cinemagtw123
- protocol: smtp
- tls: true
- properties.mail.smtp:
- auth: true
- starttls.enable: true
- ssl.trust: smtp.gmail.com
- thymeleaf:
- cache: true
- zipkin: # Use the "zipkin" Maven profile to have the Spring Cloud Zipkin dependencies
- base-url: http://localhost:9411
- enabled: false
- locator:
- discovery:
- enabled: true
- liquibase:
- contexts: prod
- # ===================================================================
- # To enable SSL, generate a certificate using:
- # keytool -genkey -alias cinema -storetype PKCS12 -keyalg RSA -keysize 2048 -keystore keystore.p12 -validity 3650
- #
- # You can also use Let's Encrypt:
- # https://maximilian-boehm.com/hp2121/Create-a-Java-Keystore-JKS-from-Let-s-Encrypt-Certificates.htm
- #
- # Then, modify the server.ssl properties so your "server" configuration looks like:
- #
- # server:
- # port: 443
- # ssl:
- # key-store: keystore.p12
- # key-store-password: <your-password>
- # keyStoreType: PKCS12
- # keyAlias: cinema
- # ===================================================================
- server:
- port: 80
- compression:
- enabled: true
- mime-types: text/html,text/xml,text/plain,text/css, application/javascript, application/json
- min-response-size: 1024
- # ===================================================================
- # JHipster specific properties
- #
- # Full reference is available at: https://jhipster.github.io/common-application-properties/
- # ===================================================================
- jhipster:
- gateway:
- rate-limiting: # Warning! Read the documentation in the GatewayConfiguration class.
- enabled: false
- authorized-microservices-endpoints: # Access Control Policy, if left empty for a route, all endpoints will be accessible
- app1: /api # recommended prod configuration
- http:
- version: V_1_1 # To use HTTP/2 you will need SSL support (see above the "server.ssl" configuration)
- cache: # Used by the CachingHttpHeadersFilter
- timeToLiveInDays: 1461
- cache: # Cache configuration
- ehcache: # Ehcache configuration
- time-to-live-seconds: 3600 # By default objects stay 1 hour in the cache
- max-entries: 1000 # Number of objects in each cache entry
- security:
- authentication:
- jwt:
- secret: 1af914d5d29c725e502654f407cc87d4be6d26cd
- # Token is valid 24 hours
- token-validity-in-seconds: 86400
- token-validity-in-seconds-for-remember-me: 2592000
- mail: # specific JHipster mail property, for standard properties see MailProperties
- from: cinema@localhost
- base-url: http://200.133.38.27 # Modify according to your server's URL
- metrics: # DropWizard Metrics configuration, used by MetricsConfiguration
- jmx.enabled: true
- graphite:
- enabled: false
- host: localhost
- port: 2003
- prefix: cinema
- prometheus:
- enabled: false
- endpoint: /prometheusMetrics
- logs: # Reports Dropwizard metrics in the logs
- enabled: false
- report-frequency: 60 # in seconds
- logging:
- logstash: # Forward logs to logstash over a socket, used by LoggingConfiguration
- enabled: false
- host: localhost
- port: 5000
- queue-size: 512
- spectator-metrics: # Reports Spectator Circuit Breaker metrics in the logs
- enabled: false
- # edit spring.metrics.export.delay-millis to set report frequency
- # ===================================================================
- # Application specific properties
- # Add your own application properties here, see the ApplicationProperties class
- # to have type-safe configuration, like in the JHipsterProperties above
- #
- # More documentation is available at:
- # https://jhipster.github.io/common-application-properties/
- # ===================================================================
- application:
- storage:
- location: /home/curadoria/public_content/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement