52 lines
1.1 KiB
Plaintext
52 lines
1.1 KiB
Plaintext
server:
|
|
http:
|
|
addr: 0.0.0.0:8300
|
|
timeout: 60s
|
|
grpc:
|
|
addr: 0.0.0.0:0
|
|
timeout: 30s
|
|
etcd:
|
|
addr:
|
|
- 127.0.0.1:2379
|
|
trace_endpoint: http://127.0.0.1:14268/api/traces
|
|
env: "qa"
|
|
geo_file: "/Users/wangchuan/www/test/geo/GeoIP2-City_20210706/GeoIP2-City.mmdb"
|
|
svr_id: 1
|
|
first_day: 20230908
|
|
ver_check: 2.0.0
|
|
|
|
data:
|
|
database:
|
|
driver: mysql
|
|
# source: root:a123456@tcp(47.94.97.41:33306)/eonline2?charset=utf8mb4&parseTime=True&loc=UTC
|
|
source: root:root@tcp(127.0.0.1:3306)/eonline2?charset=utf8mb4&parseTime=True&loc=UTC
|
|
redis:
|
|
addr: 127.0.0.1:6379
|
|
read_timeout: 0.2s
|
|
write_timeout: 0.2s
|
|
db: 3
|
|
|
|
queue:
|
|
kafka:
|
|
addrs:
|
|
- 127.0.0.1:9092
|
|
topic: example
|
|
group: example
|
|
|
|
asynq:
|
|
addr: 127.0.0.1:6379
|
|
read_timeout: 0.2s
|
|
write_timeout: 0.2s
|
|
concurrency: 10
|
|
db: 13
|
|
|
|
pagsmile:
|
|
payout:
|
|
app_id: "9B6B388E81E6456B901B61AEFA1F58E4"
|
|
app_key: "BO9ImO6KHg"
|
|
api_url: "https://sandbox.transfersmile.com"
|
|
notify_url: "http://pagsmile.dgtverse.cn/eonline2/payout/callback"
|
|
|
|
configFiles:
|
|
path: "./configs/"
|