1
0
mirror of https://github.com/newnius/YAO-docs.git synced 2024-07-06 05:15:18 +00:00
YAO-docs/sbin/start_scheduler.sh

12 lines
298 B
Bash
Raw Normal View History

2019-04-16 10:14:49 +00:00
#!/bin/bash
docker service create \
--name yao-scheduler \
--hostname yao-scheduler \
2019-04-29 13:09:57 +00:00
--constraint node.role==manager \
--network yao-net \
2019-04-16 10:14:49 +00:00
--replicas 1 \
--detach=true \
--mount type=bind,source=/etc/localtime,target=/etc/localtime,readonly \
quickdeploy/yao-scheduler:dev sleep infinity