AWS EB部署错误:AppDeployEnactHook/03start-task.sh:活动失败

doy*_*oyz 5 amazon-web-services docker amazon-elastic-beanstalk docker-compose

我一直在尝试部署在可能的最简单的方式多容器泊坞窗环境AWS弹性魔豆.我已上载的图像搬运工这产生构成搬运工-compose.yml单个公共泊坞毂储存库中的容器(例如,*名为myUsername/production_app,名为myUsername/production_celery,名为myUsername/postgres的,名为myUsername/production_client).

"docker-compose up"成功运行(docker-compose日志中没有错误)

接下来,我根据我的docker-compose.yml创建了下面的Dockerrun.aws.json,创建了一个新的Elastic Beanstalk应用程序,并在创建Web服务器环境时继续上传该文件.

但是,应用程序无法部署时出现以下错误:

XXXX/StartupStage1/AppDeployEnactHook/03start-task.sh]:活动失败.

Dockerrun.aws.json

{
 "AWSEBDockerrunVersion": 2,
 "containerDefinitions": [
    {
      "name": "app",
      "image": "myusername/production_app",
      "essential": true,
      "memoryReservation": 200,
      "portMappings": [
        {
          "hostPort": 5000,
          "containerPort": 5000
        }
    },
    {
      "name": "celery",
      "image": "myusername/production_celery",
      "essential": true,
      "memoryReservation": 200,
    },
     {
      "name": "client",
      "image": "myusername/production_client",
      "essential": true,
      "memoryReservation": 200,
       "portMappings": [
        {
          "hostPort": 3007,
          "containerPort": 3000
        }
      ]
    },
    {
      "name": "postgres",
      "image": "myusername/postgres",
      "essential": true,
      "memoryReservation": 200,
       "portMappings": [
        {
          "hostPort": 5432,
          "containerPort": 5432
        }
      ]
    }
 ]
}
Run Code Online (Sandbox Code Playgroud)