Docker Elasticbeanstalk部署失败

Docker Elasticbeanstalk部署失败,docker,amazon-elastic-beanstalk,Docker,Amazon Elastic Beanstalk,我正在尝试部署一个基于docker的环境,该环境在AWS elasticbeanstalk中使用1-1应用程序负载平衡器。我收到下面的错误消息。它以前似乎部署得很好,但由于未知原因,新部署失败了 2019-01-31 18:52:23 INFO Environment update is starting. 2019-01-31 18:53:03 INFO Deploying new version to instance(s). 2019-01-31 18:

我正在尝试部署一个基于docker的环境,该环境在AWS elasticbeanstalk中使用1-1应用程序负载平衡器。我收到下面的错误消息。它以前似乎部署得很好,但由于未知原因,新部署失败了

2019-01-31 18:52:23    INFO    Environment update is starting.      
2019-01-31 18:53:03    INFO    Deploying new version to instance(s).
2019-01-31 18:53:12    INFO    Successfully pulled node:10.15.0     
2019-01-31 18:57:34    INFO    Successfully built aws_beanstalk/staging-app
2019-01-31 18:57:42    ERROR   Failed to start nginx, abort deployment
2019-01-31 18:57:44    ERROR   [Instance: i-0d4b3811324b90c27] Command failed on instance. Return code: 1 Output: nginx: [emerg] no host in upstream ":8080" in /etc/nginx/conf.d/elasticbeanstalk-nginx-docker-upstream.conf:2
nginx: configuration file /etc/nginx/nginx.conf test failed
Failed to start nginx, abort deployment. 
Hook /opt/elasticbeanstalk/hooks/appdeploy/enact/01flip.sh failed. For more detail, check /var/log/eb-activity.log using console or EB CLI.
2019-01-31 18:57:45    INFO    Command execution completed on all instances. Summary: [Successful: 0, Failed: 1].
2019-01-31 18:57:45    ERROR   Unsuccessful command execution on instance id(s) 'i-0d4b3811324b90c27'. Aborting the operation.
2019-01-31 18:57:45    ERROR   Failed to deploy application.        


此问题是由我的Node js应用程序中的未捕获错误引起的。问题不在于豆茎