-
Notifications
You must be signed in to change notification settings - Fork 3
/
application-docker.yml
84 lines (80 loc) · 1.93 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
server:
port: 8443
compression:
enabled: true
mime-types: application/json,application/xml,text/html,text/xml,text/plain,text/css,application/javascript
spring:
threads:
virtual:
enabled: true
data:
redis:
host: redis
port: 6379
database: 0
password:
datasource:
url: jdbc:postgresql://pgbouncer:5432/postgres
username: postgres
password: 123456
driver-class-name: org.postgresql.Driver
flyway:
enabled: false
baseline-on-migrate: true
main:
allow-bean-definition-overriding: true
graphql:
graphiql:
enabled: true
devtools:
restart:
enabled: false
quartz:
properties:
org:
quartz:
scheduler:
instanceName: clusteredScheduler
instanceId: AUTO
jobStore:
class: org.springframework.scheduling.quartz.LocalDataSourceJobStore
driverDelegateClass: org.quartz.impl.jdbcjobstore.PostgreSQLDelegate
tablePrefix: QRTZ_
isClustered: true
clusterCheckinInterval: 10000
useProperties: false
threadPool:
class: org.quartz.simpl.SimpleThreadPool
threadCount: 10
threadPriority: 5
threadsInheritContextClassLoaderOfInitializingThread: true
job-store-type: jdbc
management:
endpoints:
web:
exposure:
include:
[
"health",
"info",
"metrics",
"prometheus",
"bindings",
"beans",
"env",
"loggers",
"streamsbindings",
]
mybatis:
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
secret:
salt: dc513dcf1de6941978deb973fe98c1f6
personSalt: dc513dcf1de6941978deb973fe98c1f4
key: damingerdai
logger:
level: info
springdoc:
packagesToScan: org.daming.hoteler.api.web
# swagger-ui:
# path: /swagger-ui.html