Search before asking
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?
Code of Conduct
Search before asking
Apache SkyWalking Component
BanyanDB (apache/skywalking-banyandb)
What happened
Running this command yields an error:
dependency failed to start: container banyandb has no healthcheck configuredWhat you expected to happen
start sucessfully
How to reproduce
Anything else
I added a health check and successfully ran it:
Are you willing to submit a pull request to fix on your own?
Code of Conduct