Comments (17)
docker pull xiaojue/easy-mock
docker pull mongo
docker run -v /your/db/path:/data/db --name mongo -d mongo mongo --smallfiles
docker run --link mongo:mongo -p 7300:7300 -d xiaojue/easy-mock
/your/db/path 换成你本地数据库要设置的path就行了。
from easy-mock.
from easy-mock.
@DuanPengfei 辛苦了。
大家可以关注 Easy Mock Docker,以及 DockerHub。
from easy-mock.
正在弄。
from easy-mock.
建议把配置单独拿出来啊,或者做成环境变量,要不docker太难整。我自己clone了一份已经用docker起来了。。
from easy-mock.
谢啦!
from easy-mock.
同问
from easy-mock.
@leenux 用我这个应该就成。
from easy-mock.
@xiaojue 我无法登陆诶。
from easy-mock.
服务起来了,但是注册 server error @xiaojue
from easy-mock.
@xiaojue 谢谢你的docker,不过我start后报了一个warning:
WARNING: NODE_ENV value of 'production' did not match any deployment config file names. WARNING: See https://github.com/lorenwest/node-config/wiki/Strict-Mode
请问我是需要配置一些东西吗?
from easy-mock.
@ouhuiju 这个错误是因为 build
或使用生产环境参数启动时,config
文件夹下缺少 production.json
导致的。解决方法是先将 production.json
从本地挂在到容器里面,然后再继续接下来的流程。
from easy-mock.
谢啦 @DuanPengfei
from easy-mock.
@DuanPengfei 谢谢!
from easy-mock.
@ouhuiju 你服务起来了吗?
from easy-mock.
@ouhuiju 我也有这个提示,不过不影响使用。
from easy-mock.
@linmiss 我是可以注册的唉。不过没事 可以换换官方的,我这个也是临时做的。
from easy-mock.
Related Issues (20)
- 公司内网部署,很多网址被屏蔽导致无法访问,需要如何解决 HOT 7
- [ioredis] Unhandled error event: Error: connect ETIMEDOUT
- mock服务搬到个人服务器上了 在线分流 mock.51y.cc:81 HOT 6
- 不能正常返回指定数目的数组元素 HOT 2
- 项目是不是不维护了啊
- 搭建easymock后,启动预览接口时,报错:Uncaught ReferenceError: hljs is not defined HOT 4
- 【工具分享】如果有从 easy-mock 导出的 zip 文件,可以使用这个工具来快速启动本地 mock 服务
- easy mock官网咋又502了,正在测试模拟数据呢 HOT 1
- http://em.sucaidaohang.com/ 分流easy-mock HOT 4
- easy-mock访问不了了 HOT 2
- 如何返回一个非200的状态,譬如400、500
- 有偿提供安装指导
- 帮助分流 https://mock.feup.cn 支持 https,每天自动备份数据,保障数据安全。
- 同步swagger提示证书过期
- 技术要求太高了。入门即放弃系列 HOT 6
- Assertion `(argc) == (4)' failed HOT 1
- 使用mock.js中的increment存在问题
- [nodemon] app crashed - waiting for file changes before starting
- docker安裝各种报错 HOT 2
- post方法如何加入请求参数 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easy-mock.