Remove vagrant and add testing docker

This commit is contained in:
Thilina Pituwala
2020-05-23 20:01:53 +02:00
parent 1e50da36e6
commit c366248434
32 changed files with 3635 additions and 115 deletions

View File

@@ -40,10 +40,10 @@ COPY --chown=nobody ./index.php /var/www/html/index.php
COPY --chown=nobody ./docker/prod/config/config.php /var/www/html/app/config.php
# Expose the port nginx is reachable on
EXPOSE 8080
EXPOSE 80
# Let supervisord start nginx & php-fpm
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"]
# Configure a healthcheck to validate that everything is up&running
HEALTHCHECK --timeout=10s CMD curl --silent --fail http://127.0.0.1:8080/fpm-ping
HEALTHCHECK --timeout=10s CMD curl --silent --fail http://127.0.0.1:8082/fpm-ping