fix config
This commit is contained in:
parent
a350aa64c5
commit
6df4698ed8
@ -14,29 +14,11 @@
|
||||
{backlog, 1024}
|
||||
]},
|
||||
|
||||
{redis_server, [
|
||||
{port, 16379},
|
||||
{acceptors, 10},
|
||||
{max_connections, 10240},
|
||||
{backlog, 10240}
|
||||
]},
|
||||
|
||||
{udp_server, [
|
||||
{port, 18080}
|
||||
]},
|
||||
|
||||
{api_url, "http://127.0.0.1:18090/simulator"},
|
||||
|
||||
%% 目标服务器地址
|
||||
{emqx_server, [
|
||||
{host, {39, 98, 184, 67}},
|
||||
{port, 1883},
|
||||
{tcp_opts, []},
|
||||
{username, "test"},
|
||||
{password, "test1234"},
|
||||
{keepalive, 86400},
|
||||
{retry_interval, 5}
|
||||
]}
|
||||
{api_url, "http://127.0.0.1:18090/simulator"}
|
||||
]},
|
||||
|
||||
{endpoint, [
|
||||
|
||||
@ -14,24 +14,11 @@
|
||||
{backlog, 1024}
|
||||
]},
|
||||
|
||||
{redis_server, [
|
||||
{port, 16379},
|
||||
{acceptors, 5},
|
||||
{max_connections, 10240},
|
||||
{backlog, 10240}
|
||||
]},
|
||||
|
||||
{udp_server, [
|
||||
{port, 18080}
|
||||
]},
|
||||
|
||||
{api_url, "https://lgsiot.njau.edu.cn/api/v1/taskLog"},
|
||||
|
||||
{influxdb, [
|
||||
{host, "172.19.0.4"},
|
||||
{port, 8086},
|
||||
{token, <<"A-ZRjqMK_7NR45lXXEiR7AEtYCd1ETzq9Z61FTMQLb5O4-1hSf8sCrjdPB84e__xsrItKHL3qjJALgbYN-H_VQ==">>}
|
||||
]}
|
||||
{api_url, "https://lgsiot.njau.edu.cn/api/v1/taskLog"}
|
||||
]},
|
||||
|
||||
{endpoint, [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user