1
0
mirror of https://github.com/newnius/YAO-docs.git synced 2024-07-06 05:15:18 +00:00
This commit is contained in:
2020-07-31 17:29:25 +08:00
parent c5f12b7b03
commit 2848bd60e0
7 changed files with 55 additions and 96 deletions

View File

@@ -4,8 +4,8 @@ ip=`hostname --ip-address`
docker run \
--gpus all \
--pid=host \
--name yao-agent \
--pid=host \
--network yao-net \
--network-alias $(hostname) \
--hostname $(hostname) \
@@ -16,7 +16,7 @@ docker run \
--env ClientID=$(hostname) \
--env ClientHost=$(hostname) \
--env ClientExtHost=${ip} \
--env Port=8000 \
--env PORT=8000 \
--env HeartbeatInterval=5 \
--env ReportAddress='http://yao-scheduler:8080/?action=agent_report' \
--env EnableEventTrigger='true' \