fix(docker): restore ENTRYPOINT [start-container] — adding HEALTHCHECK had dropped it

Adding the HEALTHCHECK replaced the ENTRYPOINT line instead of sitting alongside
it, so the image fell back to the base php:8.4-fpm entrypoint (php-fpm alone):
supervisord/start-container never ran, nginx was down (port 80 unserved -> /api
404 via Traefik) and supervisorctl was absent (-> always UNHEALTHY). Restore the
entrypoint; HEALTHCHECK stays.
This commit is contained in:
Fabian @ Blax Software 2026-06-12 16:59:58 +02:00
parent 9cb3ae5bce
commit 9f63d8e98b
1 changed files with 5 additions and 0 deletions

View File

@ -187,3 +187,8 @@ EXPOSE 80
HEALTHCHECK --interval=30s --timeout=10s --start-period=90s --retries=3 \ HEALTHCHECK --interval=30s --timeout=10s --start-period=90s --retries=3 \
CMD container-health CMD container-health
# Boot supervisord (php-fpm + nginx + enabled workers) via start-container. This
# MUST stay — without it the base php image's default entrypoint runs php-fpm
# alone (no nginx -> port 80 unserved, no supervisord -> healthcheck fails).
ENTRYPOINT ["start-container"]