Skip to content

docker-graphql-server container permanently unhealthy #367

Closed

Description

@RazielKernel

This is because the health check is done on the wrong port:

docker inspect --format='{{json .Config.Healthcheck}}' alangecker/bbb-docker-graphql-server:v3.0.4 | jq
{
  "Test": [
    "CMD-SHELL",
    "curl -f http://localhost:8080/healthz || exit 1"
  ],
  "StartPeriod": 10000000000
}

whereas the daemon listens on port 8085:

docker exec docker-bbb-bbb-graphql-server-1 netstat -anp | grep LIST
tcp        0      0 127.0.0.11:45881        0.0.0.0:*               LISTEN      -
tcp        0      0 0.0.0.0:8085            0.0.0.0:*               LISTEN      -

curl 8080:

docker exec docker-bbb-bbb-graphql-server-1 curl -f http://localhost:8080/healthz
curl: (7) Failed to connect to localhost port 8080 after 0 ms: Connection refused

curl 8085:

docker exec docker-bbb-bbb-graphql-server-1 curl -f http://localhost:8085/healthz
OK

Obviously, the temporary fix is to override the health check in the main docker-compose.yml file.
Please fix.

Thanks,
Andrei

Activity

  1. ben-ba commented on Sep 5, 2025

    @ben-ba
    Contributor

    copy paste solution for the docker compose template

    
        #override healthcheck from
        #https://github.com/hasura/graphql-engine/blob/master/packaging/graphql-engine/Dockerfile#L10
        #https://github.com/bigbluebutton/docker/issues/367
        healthcheck:
          test: ["CMD", "curl", "-f", "http://localhost:8085/healthz"]
          interval: 30s  #default
          timeout: 30s   #default
          retries: 3     #default
          start_period: 10s
    
  2. added a commit that references this issue on Jan 22, 2026
    2899937
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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