-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yml
More file actions
62 lines (52 loc) · 1.59 KB
/
config.yml
File metadata and controls
62 lines (52 loc) · 1.59 KB
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
version: 0.0.1
# version: ${ENV_VARIABLE_VERSION:- 0.0.1}
# Change default server ports
server:
applicationConnectors:
- type: http
port: 9000
adminConnectors:
- type: http
port: 9001
logging:
level: INFO
appenders:
- type: console
threshold: ALL
queueSize: 512
discardingThreshold: 0
timeZone: UTC
target: stdout
# logFormat: "%-5p [%d{ISO8601,UTC}] %c: %m%n%dwREx"
#You can choose the user and password what you want.
mongoDBConnection:
credentials:
username: "admin"
password: "password"
seeds:
- host: "localhost"
port: 27017
database: "dw_template_mongo"
database:
# the name of the JDBC driver, mysql in our case
driverClass: com.mysql.cj.jdbc.Driver
# the username
user: root
# the password
password:
# the JDBC URL; the database is called dw_template
url: jdbc:mysql://localhost:3306/dw_template?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC
# any properties specific to your JDBC driver:
# properties:
# charSet: UTF-8
# hibernate.dialect: org.hibernate.dialect.PostgreSQLDialect
# the maximum amount of time to wait on an empty pool before throwing an exception
maxWaitForConnection: 1s
# the SQL query to run when validating a connection's liveness
validationQuery: "/* MyApplication Health Check */ SELECT 1"
# the minimum number of connections to keep open
minSize: 8
# the maximum number of connections to keep open
maxSize: 32
# whether or not idle connections should be validated
checkConnectionWhileIdle: false