Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 650 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 650 Bytes

Docker ECR Sample

Sample of PHP-FPM and NGINX docker image for ECR & ECS based deployment.

Reference I am following: Deploy web apps (+NGINX) to ECS with Docker https://medium.com/@stefanofrancavilla/deploy-web-apps-nginx-to-ecs-with-docker-580c6af827e8

SO Discussion & Solution

When this configuration was failing, I created this SO question and got answer to solve. this.

Question

AWS ECR, ECS based deployment: nginx: [emerg] host not found in upstream “app:9000” in /etc/nginx/conf.d/default.conf:2