hooyantsing's Blog

Hooyblog项目生产环境部署

字数统计: 128阅读时长: 1 min
2020/11/01

1 HooyBlog项目构建镜像及容器

1.1 OpenWRT-Docker

IP Address : 192.168.100.4

1
2
docker build -t hooyblog .
docker run -d -p 8888:8888 -v /opt/hooy/hooyblog/HooyBlogPhoto:/opt/hooy/hooyblog/HooyBlogPhoto --name hooyblog hooyblog

1.2 CentOS7-Docker

1
2
docker build -t hooyblog .
docker run -d -p 8888:8888 -v /opt/hooyblog/HooyBlogPhoto:/opt/hooyblog/HooyBlogPhoto --name hooyblog hooyblog

2 依赖技术

2.1 MySQL数据库

1
docker run -d -p 3306:3306 -e MYSQL_ROOT_PASSWORD=huyanqing --name mysql mysql:5.7

2.2 Redis数据库

1
docker run -d -p 6379:6379 --name redis redis

2.3网易云音乐开源项目支持

1
2
docker pull binaryify/netease_cloud_music_api
docker run -d -p 3000:3000 --name netease_cloud_music_api binaryify/netease_cloud_music_api
CATALOG
  1. 1. 1 HooyBlog项目构建镜像及容器
    1. 1.1. 1.1 OpenWRT-Docker
    2. 1.2. 1.2 CentOS7-Docker
  2. 2. 2 依赖技术
    1. 2.1. 2.1 MySQL数据库
    2. 2.2. 2.2 Redis数据库
    3. 2.3. 2.3网易云音乐开源项目支持