aws-fargate-with-php
aws-fargate-with-php copied to clipboard
Running on Fargate task & locally seams docker-entrypoint.sh is not executed
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
I think it would better to run docker-compose up -d. That uses docker compose for orchestrating the container.
Yes, but network is not setup in the docker-compose.yml file, so containers do not see each other