mirror of
https://github.com/newnius/YAO-docs.git
synced 2024-07-06 05:15:18 +00:00
add deploy scripts
This commit is contained in:
13
deploy/run_agent.sh
Normal file
13
deploy/run_agent.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker run \
|
||||
-d \
|
||||
--name yao-agent \
|
||||
--pid=host \
|
||||
-p 8000:8000 \
|
||||
-e ClientID=1 \
|
||||
-e ClientHost=yao-agent \
|
||||
-e KafkaBrokers=kafka:9092 \
|
||||
--mount type=bind,src=/var/run/docker.sock,dst=/var/run/docker.sock \
|
||||
--add-host=kafka:192.168.100.105 \
|
||||
quickdeploy/yao-agent
|
||||
Reference in New Issue
Block a user