I’m trying to understand why my healthchecks are failing, and frankly it could be any number of issues, but I can’t even understand how I can properly troubleshoot this.
I’m using the App Platform service, and have configured a very basic Dockerfile to spin up a wordpress site.
The build seems to succeed without issue, but the health check fails without giving an error or even sharing what the response was.
Any tips on what might be happening would be great, or tips on how to get further with troubleshooting with this service.
COPY wp-content/plugins/ /var/www/html/wp-content/plugins/
COPY wp-content/themes/ /var/www/html/wp-content/themes/
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
Side note: Running the docker run command locally seems to work fine, and exposes port 8080 as I would expect.
docker run --name some-wordpress -p 8080:80 -d wordpress
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.