42 lines
623 B
YAML
42 lines
623 B
YAML
listen_api: 4596
|
|
runmode: debug
|
|
max_conn: 121
|
|
logs:
|
|
dir: /var/log/user
|
|
file: user.log
|
|
level: 1
|
|
savefile: false
|
|
redis1:
|
|
addr: 49.235.25.67:16379
|
|
password: ~
|
|
db: 1
|
|
mysql:
|
|
addr: 49.235.25.67
|
|
user: caiyu
|
|
password: 12345678
|
|
db: background
|
|
max_open: 100
|
|
MaxIdle: 99
|
|
elasticsearch:
|
|
address: http://hyrtc.net:9200
|
|
mysql1:
|
|
addr: 49.235.25.67
|
|
user: caiyu
|
|
password: 12345678
|
|
db: background
|
|
max_open: 100
|
|
MaxIdle: 99
|
|
mongo:
|
|
addr: 49.235.25.67
|
|
port: 27017
|
|
user: root
|
|
password: root
|
|
db: test
|
|
max_open: 100
|
|
MaxIdle: 99
|
|
ca_cert: ""
|
|
client_cert: ""
|
|
client_key: ""
|
|
test_arr:
|
|
- 1
|
|
- 23 |