From 3ed9473dcf3aab5c22ae892a3bf991c2a1136c92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=9E=E7=91=9E=E6=B4=8B?= <10195501410@stu.ecnu.edu.cn> Date: Wed, 13 Jan 2021 16:41:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'README.md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index eaee967..2047490 100644 --- a/README.md +++ b/README.md @@ -12,11 +12,12 @@ mkdir -p /showdoc_data/html chmod -R 777 /showdoc_data - #### 5.云主机新建会话并使其监听4999端口 - ![Image text](http://gitea.shuishan.net.cn/10195501410/cloud-computing-course-final/raw/download/branch/master/listen.png) + ![端口监听](http://gitea.shuishan.net.cn/10195501410/cloud-computing-course-final/raw/download/branch/master/listen.png) - #### 6.运行容器 docker run -d --name showdoc -p 4999:80 -v /showdoc_data/html:/var/www/html/ star7th/showdoc - #### 7.登陆网站 本机登录网址[http://localhost:4999](http://localhost:4999),即可登录showdoc,初始账号是showdoc,密码是123456; + ![应用效果](http://gitea.shuishan.net.cn/10195501410/cloud-computing-course-final/raw/download/branch/master/result.png) 但仅限本机登录。 - #### 8.非本机访问——负载均衡 先创建一个负载均衡