HEALTHCHECK for laravel

This commit is contained in:
Benjamin Brummer
2025-05-08 06:43:23 +00:00
parent ebc6c3642a
commit 0c607953ec

2
debian/Dockerfile vendored
View File

@@ -85,6 +85,8 @@ COPY --chmod=0755 scripts/init.sh /usr/local/bin/init.sh
USER ${user}
HEALTHCHECK --start-period=10s CMD curl -f http://localhost/health
ENTRYPOINT ["/usr/local/bin/init.sh"]
CMD ["frankenphp", "php-cli", "artisan", "octane:frankenphp"]