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

rearrange, bugfix

This commit is contained in:
2019-04-29 21:09:57 +08:00
parent 58a09f6dc3
commit 1553d75352
10 changed files with 174 additions and 30 deletions

13
sbin/start_portal.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
docker service create \
--name yao-portal \
--hostname yao-portal \
--constraint node.role==manager \
--network yao-net \
--replicas 1 \
--detach=true \
--publish 80:80 \
--mount type=bind,source=/etc/localtime,target=/etc/localtime,readonly \
--mount type=bind,source=/data/yao-portal/config/,target=/config/ \
quickdeploy/yao-portal