提交 1b636686 authored 作者: 刘旭's avatar 刘旭

部署

上级 1cf0e7ef
......@@ -17,9 +17,15 @@ RUN echo "\
#ssl_certificate /etc/nginx/ssl/7278703_blueelephant.es-erp.com.pem;\
#ssl_certificate_key /etc/nginx/ssl/7278703_blueelephant.es-erp.com.key;\
#ssl_session_timeout 5m;\
location /admin { \
proxy_pass http://yongxinda-h5; \
proxy_set_header Host yongxinda-h5; \
proxy_set_header X-Real-IP \$remote_addr; \
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for; \
} \
location /wx { \
proxy_pass http://litemall; \
proxy_set_header Host litemall; \
proxy_pass http://yongxinda-h5; \
proxy_set_header Host yongxinda-h5; \
proxy_set_header X-Real-IP \$remote_addr; \
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for; \
} \
......@@ -37,8 +43,7 @@ RUN echo "\
&& mkdir -p /var/www \
&& mkdir -p /var/www/html
# ADD 7278703_blueelephant.es-erp.com.key /etc/nginx/ssl/
# ADD 7278703_blueelephant.es-erp.com.pem /etc/nginx/ssl/
ADD dist/ /var/www/html/
ADD dist/build/h5 /var/www/html/
EXPOSE 80
version: '3'
services:
msjf-customized:
yongxinda-h5:
build:
context: ../
image: 192.168.2.141:5000/yongxinda
\ No newline at end of file
version: '3'
services:
msjf-customized:
image: 1ar8696937.iok.la:22594/yongxinda
container_name: yongxinda
yongxinda-h5:
image: 1ar8696937.iok.la:22594/yongxinda-h5
container_name: yongxinda-h5
ports:
- "81:80"
- "444:443"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论