-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig-dev.yaml
executable file
·96 lines (96 loc) · 2.81 KB
/
config-dev.yaml
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
services:
internal:
id: 2f47cd0f77936e409ff6d3ca49a5af0828cbb3f6
name: be_77936e409ff6d3ca49a5af0828cbb3f6
dns: be_77936e409ff6d3ca49a5af0828cbb3f6.server
log_level: debug
environment: develop
enable_tls: false
operation_timeout: 15s
x_api_key: 8feebf5449a66e3b7f7da7be3a71421c3fac62078227dbf9c66a850237b19191
addr: "0.0.0.0"
api_base_path: /api/v1
port: 50050
databases:
mysql:
driver: "mysql"
source: "0.0.0.0"
username: "mock_user"
password: "mock_password"
db_name: "mock_db"
host: "0.0.0.0"
port: "3306"
enable_tls: false
migration_url: "file://configs/migration"
redis:
servers:
- "0.0.0.0:6379"
db: 0
password: mock_redis_password
pool_size: 300
app_id: 2f47cd0f77936e409ff6d3ca49a5af0828cbb3f6
enable_tls: false
prefixes:
create_consumer_idempotency:
prefix: create_consumer_idempotency
expirationDuration: 1m
update_consumer_idempotency:
prefix: update_consumer_idempotency
expirationDuration: 1m
consumer:
prefix: consumer
expirationDuration: 15s
create_consumer_loan_limit_idempotency:
prefix: create_consumer_loan_limit_idempotency
expirationDuration: 1m
update_consumer_loan_limit_idempotency:
prefix: update_consumer_loan_limit_idempotency
expirationDuration: 1m
consumer_loan_limit:
prefix: consumer_loan_limit
expirationDuration: 30s
create_consumer_transaction_idempotency:
prefix: create_consumer_transaction_idempotency
expirationDuration: 1m
update_consumer_transaction_idempotency:
prefix: update_consumer_transaction_idempotency
expirationDuration: 1m
consumer_transaction:
prefix: consumer_transaction
expirationDuration: 5s
create_affiliated_dealer_idempotency:
prefix: create_affiliated_dealer_idempotency
expirationDuration: 1m
update_affiliated_dealer_idempotency:
prefix: update_affiliated_dealer_idempotency
expirationDuration: 1m
affiliated_dealer:
prefix: affiliated_dealer
expirationDuration: 30s
monitoring:
probes:
readiness_path: /ready
liveness_path: /live
check_interval: 10
port: :6880
pprof: :7880
prometheus:
port: :8880
path: /metrics
jaeger:
host_port: 0.0.0.0:6831
enable: true
logSpan: true
tls:
app:
ca_path: "./tls/mysql/ca-cert.pem"
cert_path: "./tls/mysql/server-cert.pem"
key_path: "./tls/mysql/server-key.pem"
mysql:
ca_path: "./tls/mysql/ca-cert.pem"
cert_path: "./tls/mysql/client-cert.pem"
key_path: "./tls/mysql/client-key.pem"
redis:
ca_path: "./tls/redis/ca-cert.pem"
cert_path: "./tls/redis/client-cert.pem"
key_path: "./tls/redis/client-key.pem"