Skip to content

JustinFeng/fakeit-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Fakeit

Docker image for https://github.com/JustinFeng/fakeit

Usage

Use local specification

docker run -t -v <SPEC_FILE>:/home/<SPEC_FILE> -p 8081:8080 realfengjia/fakeit:latest --spec /home/<SPEC_FILE>

Use remote specification

docker run -t -p 8081:8080 realfengjia/fakeit:latest --spec <SPEC_URL>

Notes:

  • Mock server runs on port 8080 by default. To run mock server on a different port, you cannot use original option --port of fakeit command, please use docker runtime option instead
  • To preserve color highlights in logging, please enable tty while running docker container

About

Build docker image for https://github.com/JustinFeng/fakeit

Resources

Stars

Watchers

Forks

Packages

No packages published