fix config

This commit is contained in:
anlicheng 2026-05-11 21:53:31 +08:00
parent a350aa64c5
commit 6df4698ed8
2 changed files with 2 additions and 33 deletions

View File

@ -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, [

View File

@ -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, [