正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -24,7 +24,7 @@ fi | @@ -24,7 +24,7 @@ fi | ||
24 | #启动容器和apache | 24 | #启动容器和apache |
25 | echo "正在启动容器..." | 25 | echo "正在启动容器..." |
26 | set="--privileged=true -e TZ="Asia/Shanghai" --restart=always -e ALLOW_IP_RANGE=0.0.0.0/0" | 26 | set="--privileged=true -e TZ="Asia/Shanghai" --restart=always -e ALLOW_IP_RANGE=0.0.0.0/0" |
27 | -docker run -d --name $dn $set -p $port:80 -v $curPath/logs/apache.error:/var/log/httpd/error_log -v $curPath:/usr/src/app -v $curPath/httpd.conf:/etc/httpd/conf/httpd.conf dci/dmapmanager:4.0 /usr/sbin/init | 27 | +docker run -d --name $dn $set -p $port:80 -v $curPath/logs/apache.error:/var/log/httpd/error_log -v $curPath:/usr/src/app -v $curPath/httpd.conf:/etc/httpd/conf/httpd.conf dci/dmapmanager:4.1 /usr/sbin/init |
28 | docker exec -d $dn systemctl start httpd | 28 | docker exec -d $dn systemctl start httpd |
29 | sleep 5 | 29 | sleep 5 |
30 | curl localhost:$port/release | 30 | curl localhost:$port/release |
请
注册
或
登录
后发表评论