Create a healthcheck lookup

This commit is contained in:
Josh Knapp 2023-04-09 16:06:00 -07:00
parent 1a4faad685
commit 908f38eb26
3 changed files with 5 additions and 1 deletions

View File

@ -18,5 +18,6 @@ COPY ./configs/default-index.conf /etc/httpd/conf.d/
COPY ./configs/prod-php.ini /etc/php.ini
COPY ./configs/phpinfo.php /var/www/html/index.php
COPY ./configs/mariadb.repo /etc/yum.repos.d/
COPY ./configs/index.php /var/www/html/
RUN yum clean all
ENTRYPOINT [ "/scripts/entrypoint.sh" ]

View File

@ -1 +1,2 @@
DirectoryIndex index.html index.htm index.php
Alias "/ping" "/var/www/html"

2
configs/index.php Normal file
View File

@ -0,0 +1,2 @@
<?php
echo "pong";