showdoc的docker-compose安装

1、安装配置docker、docker-compose环境
2、安装git
3、git clone https://github.com/star7th/showdoc.git

image.png

4、进度showdoc目录下,执行docker build -t showdoc ./

image.png

5、创建showdoc.yml文件
version: '2'
services:
showdoc:
image: showdoc:latest
container_name: showdoc
restart: always
ports:
- "4999:80"
6、docker-compose -f showdoc.yml up -d
image.png

7、登录:IP:4999
image.png

image.png

image.png

你可能感兴趣的:(showdoc的docker-compose安装)