aws-fargate-with-php icon indicating copy to clipboard operation
aws-fargate-with-php copied to clipboard

Running on Fargate task & locally seams docker-entrypoint.sh is not executed

Open Gigiart opened this issue 5 years ago • 2 comments

First of all this is a great job. Thank you to sharing with us - special beginners.

However, running the Dockerfile on Fargate task & locally

docker run -it -p 80:80 <container>

It seams docker-entrypoint.sh is not executed and, following that, I've got 502 bad gateway from nginx as php-fpm has not started.

Thanks

Gigiart avatar Jul 10 '20 11:07 Gigiart

I think it would better to run docker-compose up -d. That uses docker compose for orchestrating the container.

codedge avatar Oct 26 '20 21:10 codedge

Yes, but network is not setup in the docker-compose.yml file, so containers do not see each other

ghost avatar Jun 07 '21 15:06 ghost