Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

imagine-c/hishop-docker

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hishop-docker

使用Docker一键式部署hishop项目并启动相关服务

前台页面为基于Vue的独立项目 请跳转至 hishop-front 项目仓库查看

后端项目为独立的项目,请跳转至 hishop 项目仓库查看

项目介绍

主要实现hishophishop-front负载均衡一键式部署,并启动Hadoop、ZooKeeper、MySQL、Redis、Nginx图片服务器、ElasticSearch、Kibana、ActiveMQ、Redis、Portainer服务。

相关技术

准备工作

adminfront目录分别存储的两台主机上

每个主机安装好对应版本的Dokcker和Docker Compose

hishop项目使用Maven的Lifecycle中的package进行打包,将得到的hishop-*-0.0.1-SNAPSHOT-exec.jar复制到admin/Webfront/Web目录下对应的目录中

hishop-front 项目使用npm run build 打包生成 dist,将dist目录复制到front/Web/nginx-front

admin/Webfront/Webfront/DataBaseAndHadoop目录下执行命令:chmod u+x ./exec.sh

在存储front目录的主机的hosts文件中添加:172.18.0.13 hadoop

在存储admin目录的主机的hosts文件中添加:存储front目录主机的ip地址 hadoop

运行

  1. front/DataBaseAndHadoop目录下执行:./exec.sh
  2. admin/WebTool目录下执行:docker-compose up -d
  3. admin/Web目录下执行:./exec.sh
  4. front/Web目录下执行:./exec.sh

输入存储admin目录主机的ip地址查看hishop 后台管理系统页面

输入存储front目录主机的ip地址查看 hishop-front 前台页面

开源协议

MIT

About

主要实现hishop和hishop-front的负载均衡,一键式部署,并启动Hadoop、ZooKeeper、MySQL、Redis、Nginx图片服务器、ElasticSearch、Kibana、ActiveMQ、Redis、Portainer等服务。

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.