Skip to content

[Bug] banyandb quick start docker-compose run failed #13060

@eye-gu

Description

@eye-gu

Search before asking

  • I had searched in the issues and found no similar issues.

Apache SkyWalking Component

BanyanDB (apache/skywalking-banyandb)

What happened

docker compose -f ./docker-compose.yaml --project-name=banyandb-quickstart up -d

Running this command yields an error: dependency failed to start: container banyandb has no healthcheck configured

What you expected to happen

start sucessfully

How to reproduce

docker compose -f ./docker-compose.yaml --project-name=banyandb-quickstart up -d

Anything else

I added a health check and successfully ran it:

services:
  banyandb:
    image: ${BANYANDB_IMAGE:-apache/skywalking-banyandb:latest}
    container_name: banyandb
    command: standalone
    expose:
      - 17912
    ports:
    - 17913:17913
    networks:
      - demo
    healthcheck:
      test: [ "CMD", "sh", "-c", "nc -z 127.0.0.1 17912 || exit 1" ]
      interval: 5s
      timeout: 60s
      retries: 120

Are you willing to submit a pull request to fix on your own?

  • Yes I am willing to submit a pull request on my own!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    dockerDocker build scripts or images relatedquestionEnd user question and discussion.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions