Skip to content

Backend Mode + Docker Healthcheck #802

@durandguru

Description

@durandguru

Description

Using a Docker container in backend mode causes the docker healthcheck to fail. This is because there is of course no index.php in this mode.

Server

Docker Version 6.1.0

Client

N/A

Steps to reproduce

Run a docker container in a backend mode, check docker healthcheck

Expected behaviour

A correct Healthcheck. In this case an unhealty result will not register the container in traefik.

Screenshots

IMAGE COMMAND CREATED STATUS
ghcr.io/librespeed/speedtest "docker-php-entrypoi…" 4 minutes ago Up 2 minutes (unhealthy)

[Wed Apr 29 19:15:49.336175 2026] [autoindex:error] [pid 30:tid 30] [client ::1:54620] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.php,index.html) found, and server-generated directory index forbidden by Options directive

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions