167 lines
6.2 KiB
YAML
167 lines
6.2 KiB
YAML
# ===================================================================
|
|
# Spring Boot configuration for the "prod" profile.
|
|
#
|
|
# This configuration overrides the application.yml file.
|
|
#
|
|
# More information on profiles: https://www.jhipster.tech/profiles/
|
|
# More information on configuration properties: https://www.jhipster.tech/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
|
|
# ===================================================================
|
|
|
|
logging:
|
|
level:
|
|
ROOT: DEBUG
|
|
io.github.jhipster: DEBUG
|
|
it.cnr.isti.epasmed: DEBUG
|
|
|
|
management:
|
|
metrics:
|
|
export:
|
|
prometheus:
|
|
enabled: false
|
|
|
|
spring:
|
|
devtools:
|
|
restart:
|
|
enabled: false
|
|
livereload:
|
|
enabled: false
|
|
mail:
|
|
host: localhost
|
|
port: 25
|
|
username:
|
|
password:
|
|
thymeleaf:
|
|
cache: true
|
|
|
|
# datasource:
|
|
# type: com.zaxxer.hikari.HikariDataSource
|
|
# url: jdbc:postgresql://localhost:5432/epasmed
|
|
# username: epasmed
|
|
# password:
|
|
# hikari:
|
|
# poolName: Hikari
|
|
# auto-commit: false
|
|
# jpa:
|
|
# database-platform: io.github.jhipster.domain.util.FixedPostgreSQL10Dialect
|
|
# show-sql: false
|
|
|
|
# ===================================================================
|
|
# To enable TLS in production, generate a certificate using:
|
|
# keytool -genkey -alias epasmed -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: classpath:config/tls/keystore.p12
|
|
# key-store-password: password
|
|
# key-store-type: PKCS12
|
|
# key-alias: selfsigned
|
|
# # 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/)
|
|
# 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
|
|
# ===================================================================
|
|
server:
|
|
port: 8080
|
|
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://www.jhipster.tech/common-application-properties/
|
|
# ===================================================================
|
|
|
|
jhipster:
|
|
http:
|
|
cache: # Used by the CachingHttpHeadersFilter
|
|
timeToLiveInDays: 1461
|
|
security:
|
|
remember-me:
|
|
# security key (this key should be unique for your application, and kept secret)
|
|
key:
|
|
mail: # specific JHipster mail property, for standard properties see MailProperties
|
|
base-url: http://epasmed.isti.cnr.it # Modify according to your server's URL
|
|
metrics:
|
|
logs: # Reports metrics in the logs
|
|
enabled: false
|
|
report-frequency: 60 # in seconds
|
|
logging:
|
|
use-json-format: false # By default, logs are not in Json format
|
|
logstash: # Forward logs to logstash over a socket, used by LoggingConfiguration
|
|
enabled: false
|
|
host: localhost
|
|
port: 5000
|
|
queue-size: 512
|
|
audit-events:
|
|
retention-period: 30 # Number of days before audit events are deleted.
|
|
|
|
# ===================================================================
|
|
# 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://www.jhipster.tech/common-application-properties/
|
|
# ===================================================================
|
|
|
|
application:
|
|
datasource-epasmed:
|
|
datasource:
|
|
#type: com.zaxxer.hikari.HikariDataSource
|
|
platform: org.hibernate.dialect.PostgreSQLDialect
|
|
url: jdbc:postgresql://127.0.0.1:5432/epasmed
|
|
username: epasmed
|
|
password:
|
|
hikari:
|
|
poolName: epasmedPool
|
|
auto-commit: false
|
|
maximum-pool-size: 10
|
|
liquibase:
|
|
# Replace by 'prod, faker' to add the faker context and have sample data loaded in production
|
|
contexts: prod
|
|
change-log: classpath:config/liquibase/epasmed/master.xml
|
|
enabled: true
|
|
datasource-sistemainformativo:
|
|
datasource:
|
|
url: jdbc:postgresql://sistemainformativo-dev.isti.cnr.it:5432/sistemainformativo
|
|
driver-class-name: org.postgresql.Driver
|
|
username: epasmed
|
|
password:
|
|
hikari:
|
|
poolName: sistemainformativoPool
|
|
auto-commit: false
|
|
maximum-pool-size: 10
|
|
datasource-epas-rest:
|
|
#rest-url: https://epas-demo.devel.iit.cnr.it/rest
|
|
rest-url: https://epas.isti.cnr.it/rest
|
|
rest-username1: isti_registry_manager
|
|
rest-password1:
|
|
rest-username2: isti_person_day_reader
|
|
rest-password2:
|
|
rest-username3: userISTI
|
|
rest-password3:
|
|
# datasource:
|
|
# type: com.zaxxer.hikari.HikariDataSource
|
|
# url: jdbc:postgresql://localhost:5432/epasmed
|
|
# username: epasmed
|
|
# password:
|
|
# hikari:
|
|
# poolName: Hikari
|
|
# auto-commit: false
|
|
# jpa:
|
|
# database-platform: io.github.jhipster.domain.util.FixedPostgreSQL10Dialect
|
|
# show-sql: false
|
|
|