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:
2019-12-04 20:29:53 +08:00
parent 1553d75352
commit 035dd0df5f
6 changed files with 48 additions and 19 deletions

View File

@@ -8,6 +8,13 @@ docker service create \
--replicas 1 \
--detach=true \
--publish 80:80 \
--env SITE_SCHEDULER_ADDR=http://yao-scheduler:8080 \
--env SITE_BASE_URL=http://210.28.132.13 \
--env MYSQL_HOST=mysql \
--env MYSQL_PORT=3306 \
--env MYSQL_DATABASE=yao \
--env MYSQL_USER=root \
--env MYSQL_PASSWORD=123456 \
--env REDIS_HOST=redis \
--mount type=bind,source=/etc/localtime,target=/etc/localtime,readonly \
--mount type=bind,source=/data/yao-portal/config/,target=/config/ \
quickdeploy/yao-portal
quickdeploy/yao-portal:dev