1
0
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:
2019-04-16 18:14:49 +08:00
parent 3790296dfa
commit 58a09f6dc3
5 changed files with 110 additions and 0 deletions

13
deploy/run_agent.sh Normal file
View 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