Tag: 弹性豆茎

debuggingElastic Beanstalk Docker运行失败?

我是EB和AWS的新手,我的Docker镜像可以正常工作,但无法在Elastic Beanstalk上运行。 我的怀疑是,他们没有正确连接到数据库,但是,我没有得到任何有用的,当我从命令行运行“eb日志”。 这里是错误: { "status": "FAILURE", "api_version": "1.0", "results": [ { "status": "FAILURE", "msg": "(TRUNCATED)…rrun.aws.json: No such file or directory 73927c49adff622a1a229d9369bdd80674d96d20f3eb99a9cdea786f4411a368 Docker container quit unexpectedly after launch: Docker container quit unexpectedly on Wed May 20 17:15:02 UTC 2015:. Check snapshot logs for details. Hook /opt/elasticbeanstalk/hooks/appdeploy/pre/04run.sh failed. For more detail, check /var/log/eb-activity.log using console or […]

如何在单个容器Docker环境上的Amazon Elastic Beanstalk上部署Rails应用程序

我一直试图在Elastic Beanstalk上dockerize我的Rails应用程序。 这里有很多例子,但大多数并不适合我的具体用例。 那是: 在单个容器下运行Docker环境(所以不需要docker-compose / fig) 在Amazon Elastic Beanstalk上运行。 使用客运docker作为基础镜像(Ruby变体之一)。 传递由Elastic Beanstalk设置的环境variables(通过控制台的CLI)。 Nginx和Passenger在容器中。 能够安装自定义包(扩展它)。 合理的.dockerignore文件。 关于如何部署的过程并不是问题,而是正确的Dockerconfiguration,可以与Amazon Elastic Beanstalk一起使用以上特定条件。 什么是正确的configuration,让这个运行?