This repository has been archived by the owner on Dec 19, 2023. It is now read-only.
forked from klask-io/klask-io
-
Notifications
You must be signed in to change notification settings - Fork 2
/
application-docker.yml
98 lines (91 loc) · 3.08 KB
/
application-docker.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# ===================================================================
# Spring Boot configuration for the "prod" profile. (in docker context)
# This file is renamed application.yml in the docker image
# ===================================================================
# ===================================================================
# 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:h2:/klask-data/h2:klask;DB_CLOSE_DELAY=-1
name:
username: klask
password:
h2:
console:
enabled: false
jpa:
database-platform: io.klask.domain.util.FixedH2Dialect
database: H2
show_sql: false
properties:
hibernate.cache.use_second_level_cache: false
hibernate.cache.use_query_cache: false
hibernate.generate_statistics: false
data:
elasticsearch:
cluster-name:
cluster-nodes:
properties:
path:
logs: /klask-data/elasticsearch/log
data: /klask-data/elasticsearch/data
mail:
host: localhost
port: 25
username:
password:
thymeleaf:
cache: true
liquibase:
contexts: prod
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
# ===================================================================
jhipster:
http:
cache: # Used by the CachingHttpHeadersFilter
timeToLiveInDays: 1461
security:
authentication:
jwt:
secret: 398819d83c9d6aed94587a994a04fa3ec3722b8d
# Token is valid 24 hours
tokenValidityInSeconds: 86400
mail: # specific JHipster mail property, for standard properties see MailProperties
from: klask@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: klask
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