Tag: meteor

用Docker运行meteor应用程序

我试图创build一个Dockerfile来运行,并最终build立/运行我的meteor应用程序。 我使用https://github.com/meteorhacks/meteord和我的Dockerfile看起来像这样: FROM meteorhacks/meteord:devbuild 根据他们如何build立一切,应该是你需要做的。 当我运行docker build -t docker/my-app . 这是输出的样子: 我无法弄清楚什么是错误的,或者是否有更好的方法来做到这一点。 此外,如果任何人有任何其他的想法如何build立一个meteor应用程序的持续集成(触发构build和运行构build),我很高兴听到这些是什么(没有这是不是在银河主办)。

运行新的meteorhacks / meteord应用程序,没有meteor应用程序

我尝试用Docker创build一个基于meteor的新项目。 我find了这个库: https : //github.com/meteorhacks/meteord 我创build了Dockerfile并放在那里 FROM meteorhacks/meteord:onbuild 然后运行: docker run meteorhacks/meteord docker run mongo 下载所有的软件包后,我最后运行 docker run -i -t 807754a01782 -d -e ROOT_URL=http://localhost:3000 -e MONGO_URL=mongodb://127.0.0.1:27017/ -e MONGO_OPLOG_URL=mongodb://127.0.0.1:27017/ -p 8080:80 myapp 基于这个例子: docker run -d \ -e ROOT_URL=http://yourapp.com \ -e MONGO_URL=mongodb://url \ -e MONGO_OPLOG_URL=mongodb://oplog_url \ -p 8080:80 \ yourname/app 在myapp文件夹里,我有新鲜的meteor项目。 但是,结果我收到了 > You don't have […]

Docker没有命名图像Meteorup

我已经在这个近6天了。 只是要部署到服务器。 我感到震惊的是,部署一个meteor应用程序需要牺牲公牛和公羊像用户应该。 哈哈。 只是开玩笑,但真诚地把我的皮肤脱毛。 我正在使用Meteorup进行部署。 在这篇文章中,这个部署configuration是我使用Meteor-up在运行部署之后终止的 。 这是我提出的问题的一部分,但没有一个解决了它https://github.com/zodern/meteor-up/issues/734[1] 。 经过很多故障排除之后,我运行了docker镜像,它实际上为mongodb和abernix / meteord的镜像添加了名字,但是对于我想部署的镜像并没有。 为什么? 由于容器是从图像创build的,所以不会看到容器,因为没有图像可以参考创build。 拜托,这个 root@hostname:~# docker images REPOSITORY TAG IMAGE ID CREATED SIZE <none> <none> 06f352515b0a 41 minutes ago 659MB <none> <none> e29de6b55976 About an hour ago 659MB abernix/meteord base 7941fc48936e 2 months ago 520MB mongo 3.4.1 0dffc7177b06 8 months ago 402MB 当我运行docker […]

错误:在docker集装箱中找不到模块“纤维/未来”

一个Meteor项目在本地机器上运行OK,它用于在EC2泊坞窗容器上正常工作,但由于某种原因,现在它失败了,这里是我从EC2中发现的: docker logs be664c9bce8a /opt/bundle/programs/server/boot.js:392 }).run(); ^ Error: Cannot find module "fibers/future" at Object.require (/opt/bundle/programs/server/boot.js:232:24) at packages/meteor.js:93:20 at packages/meteor.js:263:4 at packages/meteor.js:1392:3 at /opt/bundle/programs/server/boot.js:339:34 at Function._.each._.forEach (/opt/bundle/node_modules/underscore/underscore.js:153:9) at /opt/bundle/programs/server/boot.js:158:5 at /opt/bundle/programs/server/boot.js:388:5 at Function.run (/opt/bundle/programs/server/profile.js:510:12) at /opt/bundle/programs/server/boot.js:387:11 这里是docker文件: FROM lambdalinux/baseimage-amzn #RUN yum update -y RUN curl –silent –location https://rpm.nodesource.com/setup_4.x | bash – RUN yum install -y tar […]

最小docker的图像做一些meteorunit testing

我正在docker容器中进行unit testing(对于我的CI工作stream程)。 因此,我已经用nodeJS(4.x)和meteorJS(1.5)构build了一个基于Ubuntu的映像。 我必须添加一个Ubuntu用户,因为根用户使meteor的一些问题,我必须设置语言环境来解决已知的问题与mongoDB。 在结果图像有2 GB的! 这对我来说是不可思议的。 只是做unit testing太多了。 我也尝试过使用一个阿尔卑斯山版本(node:4.8-alpine),但是由于我没有得到meteor test运行 我的命令来运行CI设置中的unit testing: TEST_CLIENT=0 meteor test –once –driver-package dispatch:mocha –allow-superuser 这是我正在使用的Dockerfile: FROM ubuntu:16.04 COPY package.json ./ RUN apt-get update -y && \ apt-get install -yqq \ python \ build-essential \ apt-transport-https \ ca-certificates \ curl \ locales \ nodejs \ npm \ nodejs-legacy \ sudo […]

技术上可能运行meteor运行服务器的unit testing?

本地我运行meteor test –driver-package practicalmeteor:mocha –port 4001运行我的unit testing,这是刷新每次我正在更改文件。 所以这对开发是可以的。 在我的CI过程中,我想先做unit testing,如果他们通过,我做一个meteor build ,并将应用程序部署到docker集装箱。 这是工作,但运行meteor test –once –driver-package dispatch:mocha作为CI阶段将总是需要几分钟(5-15分钟)每次启动一个meteor实例,这是不是很实际的单位试验。 工作,但太多时间了… 所以我的想法是,如果技术上可以运行一种meteortesting服务器作为一个已经在运行的docker集装箱。 在CIunit testing阶段,我将拉动存储库(文件)并立即运行testing。 但是这可能与meteor有关吗?

meteor雨监听tcp 0.0.0.0:80:bind:地址已经在使用中

我正在使用meteor来部署到VPS。 在mup deploy的“Start Meteor”阶段,我得到了标题中的错误,还有一长串 Error response from daemon: endpoint (appname) not found Error response from daemon: No such container: (appname)-frontend 等等 我已经尝试更改imagePort在mup.js的imagePort值,但我仍然得到相同的错误,仍为0.0.0.0:80

MongoDB无法从boot2docker写入docker中的本地数据库

基本上我想在os x上的ubuntu docker中运行meteor,并使用atom来编辑源代码。 所以我使用共享音量来实现这一点。 我使用virtualbox 4.3.30和boot2docker 1.71。 当它不在共享卷中时,meteor应用运行良好。 但如果我把它放在共享卷中,它说: Unexpected mongo exit code 100. Restarting. Unexpected mongo exit code 100. Restarting. Unexpected mongo exit code 100. Restarting. Can't start Mongo server. MongoDB had an unspecified uncaught exception. This can be caused by MongoDB being unable to write to a local database. Check that you have […]

挂载/ proc时,Docker rootfs_linux.go权限被拒绝

我正在使用meteor-up部署到LXD容器内的docker实例。 当它试图启动一个MongoDB泊坞窗实例时,它会失败,并出现以下错误: docker: Error response from daemon: oci runtime error: container_linux.go:265: starting container process caused "process_linux.go:368: container init caused \"rootfs_linux.go:57: mounting \\\"proc\\\" to rootfs \\\"/var/lib/docker/vfs/dir/20a621a73755db3f4030bc67bbf7ff9540bd1d63bb348d8be440d8ca63d3c922\\\" at \\\"/proc\\\" caused \\\"permission denied\\\"\"". 我已经尝试部署作为ubuntu用户到我的LXD容器,并作为root ,并没有帮助。 这里显然有一些权限问题,但我不知道从哪里开始debugging这个问题。

meteormupx的SSLconfiguration不工作,仍然路由到端口80

下面是我的mup.json: // Configure environment "env": { "PORT": 3000, "ROOT_URL": "https://www.exomatch.com" }, //SSL "ssl": { "certificate": "ssl/ssl.crt", // this is a bundle of certificates "key": "ssl/private.key", // this is the private key of the certificate "port": 443 // 443 is the default value and it's the standard HTTPS port }, 这里是自动生成的docker容器: CONTAINER ID IMAGE COMMAND CREATED […]