Skip to content
This repository has been archived by the owner on May 23, 2019. It is now read-only.

blackcater/my-own-dockerfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

自己用的一些Dockerfile

FOSSA Status

目录

使用说明

node-sonar

具有node环境和sonar-scanner环境。

$ docker pull blackcater/node-sonar
$ docker run -it --name node-sonar -d blackcater/node-sonar

easy-mock

easy-mock进行封装

easy-mock依赖于mongodbredis,首先安装mongodbredis

$ docker pull mongo
$ docker run -itd -p 27017:27017 --name mongo mongo
$ docker pull redis
$ docker run -itd -p 6379:6379 --name redis redis

安装easy-mock

$ docker pull blackcater/easy-mock
$ docker run -it -p 7300:7300 \
             --link mongo:mongo \
             --link redis:redis \
             --name easy-mock \
             -d blackcater/easy-mock

之后,访问localhost:7300即可

如果你想要覆盖 config/local.json 文件,请按下面命令安装easy-mock

$ docker pull blackcater/easy-mock
$ docker run -it -p 7300:7300 \
             --link mongo:mongo \
             --link redis:redis \
             -v /easy-mock/conf:/easy-mock/conf \
             --name easy-mock \
             -d blackcater/easy-mock

License

FOSSA Status

About

自己封装的一些镜像。

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •