-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathconfig.json.dist
More file actions
58 lines (58 loc) · 1.44 KB
/
config.json.dist
File metadata and controls
58 lines (58 loc) · 1.44 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
{
"rest": {
"port": $REST_PORT
},
"migration": {
"postgres": {
"dir": "$MIGRATION_POSTGRES_DIR",
"search_path": "$MIGRATION_POSTGRES_SEARCH_PATH"
}
},
"database": {
"postgres": {
"write": {
"user": "$DATABASE_POSTGRES_WRITE_USER",
"pass": "$DATABASE_POSTGRES_WRITE_PASS",
"host": "$DATABASE_POSTGRES_WRITE_HOST",
"port": $DATABASE_POSTGRES_WRITE_PORT,
"db": "$DATABASE_POSTGRES_WRITE_DB",
"ssl": {
"mode": "$DATABASE_POSTGRES_WRITE_SSL_MODE"
}
}
},
"mysql": {
"write": "$DATABASE_MYSQL_WRITE"
},
"redis": {
"host": {
"local": "$DATABASE_REDIS_HOST"
},
"password": "$DATABASE_REDIS_PASSWORD",
"db": $DATABASE_REDIS_DB
},
"mongo": {
"uri": "$DATABASE_MONGO_URI",
"db": "$DATABASE_MONGO_DB",
"collection": "$DATABASE_MONGO_COLLECTIONS"
}
},
"kafka": {
"host": "$KAFKA_HOST",
"group_id": "$KAFKA_GROUP_ID",
"security_protocol": "$KAFKA_SECURITY_PROTOCOL",
"sasl_mechanisms": "$KAFKA_SASL_MECHANISMS",
"sasl_username": "$KAFKA_SASL_USERNAME",
"sasl_password": "$KAFKA_SASL_PASSWORD",
"topics": $KAFKA_TOPICS
},
"newrelic": {
"id": "$NEWRELIC_ID",
"key": "$NEWRELIC_KEY",
"debug": $NEWRELIC_DEBUG
"slowquery": {
"enabled": $NEWRELIC_SLOWQUERY_ENABLED,
"threshold": $NEWRELIC_SLOWQUERY_THRESHOLD
}
}
}