优化docker-compose部署方案,支持最新版v3.5.7快速启动部署

This commit is contained in:
xiaojian
2022-09-28 23:39:16 +08:00
parent 308a45795e
commit f9b5edbcf5
29 changed files with 32 additions and 284 deletions

View File

@@ -1,9 +0,0 @@
#MaxKey nginx Proxy Docker Build
FROM nginx
COPY ./nginx.conf /etc/nginx/conf.d/default.conf
#CMD ["nginx", "-g", "daemon off;"]

View File

@@ -16,22 +16,22 @@ server {
#服务器集群路径
#认证后端
location /sign/ {
proxy_pass http://192.168.0.104:9527/sign/;
proxy_pass http://maxkey:9527/sign/;
}
#认证前端
location /maxkey/ {
proxy_pass http://192.168.0.104:8527/maxkey/;
proxy_pass http://maxkey-frontend:8527/maxkey/;
}
#管理后端
location /maxkey-mgt-api/ {
proxy_pass http://192.168.0.104:9526/maxkey-mgt-api/;
proxy_pass http://maxkey-mgt:9526/maxkey-mgt-api/;
}
#管理前端
location /maxkey-mgt/ {
proxy_pass http://192.168.0.104:8526/maxkey-mgt/;
proxy_pass http://maxkey-mgt-frontend:8526/maxkey-mgt/;
}
error_page 500 502 503 504 /50x.html;