Skip to content

docker-compose-cql-es.yml : Docker Compose cleanup: tags, healthchecks, environment variables #4820

@dblugeon

Description

@dblugeon

Hello JanusGraph Team,

I’ve been experimenting with the Docker Compose example and noticed a few areas where improvements could be made:

  • The janusgraph-visualizer service is the only one using the depends_on directive, but it doesn’t include the condition: service_healthy option. As a result, it doesn’t wait for the JanusGraph server to be fully ready. This causes issues, especially since Cassandra takes some time to become available.
  • The health check for janusgraph-visualizer fails because the curl utility is missing from the image.
  • The service currently uses the latest tag. It would be more stable to reference a fixed version instead.
  • The environment variables for janusgraph-visualizer are outdated. The latest version uses GREMLIN_HOST and GREMLIN_PORT, not GRAPH_URL. See the .env file for reference.
  • The versions of Elasticsearch and Cassandra included in the Compose file are slightly outdated.

Regards

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