Skip to content

arifulhb/docker-ecr-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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