forked from CMSgov/dpc-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
server.conf
70 lines (62 loc) · 1.28 KB
/
server.conf
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
# Default configuration for DPC Dropwizard services
database {
driverClass = org.postgresql.Driver
url = "jdbc:postgresql://localhost:5432/dpc_attribution"
user = postgres
password = dpc-safe
initialSize = 5
minSize = 5
maxSize = 10
}
queuedb {
driverClass = org.postgresql.Driver
url = "jdbc:postgresql://localhost:5432/dpc_queue"
user = postgres
password = dpc-safe
initialSize = 5
minSize = 5
maxSize = 10
}
consentdb {
driverClass = org.postgresql.Driver
url = "jdbc:postgresql://localhost:5432/dpc_consent"
user = postgres
password = dpc-safe
initialSize = 5
minSize = 5
maxSize = 10
}
server {
registerDefaultExceptionMappers = false
applicationConnectors = [{
type = http
port = 3002
}]
adminConnectors = [{
type = http
port = 9900
}]
}
logging {
appenders = [{
type = console
timeZone = UTC
layout {
type = json
timestampFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSZ"
}
# Prevent log entries from being dropped under all circumstances
# While nice from a performance standpoint, we must ensure full audit capability of the application
discardingThreshold = 0
}]
loggers {
"liquibase" = INFO
}
}
metrics {
frequency = 1 minute
reporters = [{
type = log
logger = metrics
}]
}