127 lines
4.7 KiB
YAML
127 lines
4.7 KiB
YAML
# ===================================================================
|
|
# Spring Boot configuration for the "dev" 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
|
|
org.hostsharing.hsadminng: DEBUG
|
|
|
|
spring:
|
|
profiles:
|
|
active: dev
|
|
include:
|
|
- swagger
|
|
# Uncomment to activate TLS for the dev profile
|
|
#- tls
|
|
devtools:
|
|
restart:
|
|
enabled: true
|
|
additional-exclude: .h2.server.properties
|
|
livereload:
|
|
enabled: false # we use Webpack dev server + BrowserSync for livereload
|
|
jackson:
|
|
serialization:
|
|
indent-output: true
|
|
datasource:
|
|
type: com.zaxxer.hikari.HikariDataSource
|
|
url: jdbc:h2:mem:hsadminng;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
|
|
username: hsadminNg
|
|
password:
|
|
hikari:
|
|
poolName: Hikari
|
|
auto-commit: false
|
|
h2:
|
|
console:
|
|
enabled: false
|
|
jpa:
|
|
database-platform: io.github.jhipster.domain.util.FixedH2Dialect
|
|
database: H2
|
|
show-sql: true
|
|
properties:
|
|
hibernate.id.new_generator_mappings: true
|
|
hibernate.connection.provider_disables_autocommit: true
|
|
hibernate.cache.use_second_level_cache: false
|
|
hibernate.cache.use_query_cache: false
|
|
hibernate.generate_statistics: true
|
|
liquibase:
|
|
contexts: dev,sample-data
|
|
mail:
|
|
host: localhost
|
|
port: 25
|
|
username:
|
|
password:
|
|
messages:
|
|
cache-duration: PT1S # 1 second, see the ISO 8601 standard
|
|
thymeleaf:
|
|
cache: false
|
|
|
|
server:
|
|
port: 8080
|
|
|
|
# ===================================================================
|
|
# JHipster specific properties
|
|
#
|
|
# Full reference is available at: https://www.jhipster.tech/common-application-properties/
|
|
# ===================================================================
|
|
|
|
jhipster:
|
|
http:
|
|
version: V_1_1 # To use HTTP/2 you will need to activate TLS (see application-tls.yml)
|
|
cache: # Cache configuration
|
|
ehcache: # Ehcache configuration
|
|
time-to-live-seconds: 3600 # By default objects stay 1 hour in the cache
|
|
max-entries: 100 # Number of objects in each cache entry
|
|
# CORS is only enabled by default with the "dev" profile, so BrowserSync can access the API
|
|
cors:
|
|
allowed-origins: "*"
|
|
allowed-methods: "*"
|
|
allowed-headers: "*"
|
|
exposed-headers: "Authorization,Link,X-Total-Count"
|
|
allow-credentials: true
|
|
max-age: 1800
|
|
security:
|
|
authentication:
|
|
jwt:
|
|
# This token must be encoded using Base64 and be at least 256 bits long (you can type `openssl rand -base64 64` on your command line to generate a 512 bits one)
|
|
base64-secret: ZDFlMDUzODIzMTUzZDEwZjExN2E5ZjAzY2VhZmYzNDE1YjhlYWUxZGRhMGU3ODZiNjRkNjVlNzEwZjExYWY4YzczM2NlYzI5YWE1OTRkNWM0YThlYjZjZjA5Zjc5YWJkOTgzYjdhZjQxZWQyZGUyYjFlYjI5ZDE3NmE4M2UzYjQ=
|
|
# 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: hsadminNg@localhost
|
|
base-url: http://127.0.0.1:8080
|
|
metrics:
|
|
logs: # Reports 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
|
|
|
|
# ===================================================================
|
|
# 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:
|