2020-10-17 11:14:07 +08:00
|
|
|
{$layout}
|
2020-10-26 21:14:26 +08:00
|
|
|
{$template "menu"}
|
|
|
|
|
{$template "/left_menu"}
|
2021-05-24 11:23:20 +08:00
|
|
|
{$template "/code_editor"}
|
2020-10-17 11:14:07 +08:00
|
|
|
|
2020-10-26 21:14:26 +08:00
|
|
|
<div class="right-box">
|
2023-08-12 18:52:32 +08:00
|
|
|
<p>在官网下载节点安装包,然后通过修改节点安装包中的<code-label>configs/api_cluster.yaml</code-label>(如果此配置文件尚未创建,你需要先创建)为以下内容,启动后会自动注册节点。</p>
|
2020-10-17 11:14:07 +08:00
|
|
|
<table class="ui table definition selectable">
|
2023-08-12 18:52:32 +08:00
|
|
|
<tr>
|
|
|
|
|
<td class="title">配置文件</td>
|
|
|
|
|
<td>
|
|
|
|
|
api_cluster.yaml <download-link :v-element="'cluster-config-box'" :v-file="'api_cluster.yaml'">[下载]</download-link>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
2020-10-17 11:14:07 +08:00
|
|
|
<tr>
|
2023-08-12 18:52:32 +08:00
|
|
|
<td class="title">配置内容</td>
|
2020-10-17 11:14:07 +08:00
|
|
|
<td>
|
2023-08-12 18:52:32 +08:00
|
|
|
<source-code-box id="cluster-config-box" type="text/yaml">rpc.endpoints: [ {{cluster.endpoints}} ]
|
2021-05-24 11:23:20 +08:00
|
|
|
clusterId: "{{cluster.uniqueId}}"
|
|
|
|
|
secret: "{{cluster.secret}}"</source-code-box>
|
2020-10-17 11:14:07 +08:00
|
|
|
</td>
|
|
|
|
|
</tr>
|
2020-10-26 21:14:26 +08:00
|
|
|
</table>
|
|
|
|
|
</div>
|