Giter Club home page Giter Club logo

Comments (4)

robfrank avatar robfrank commented on July 29, 2024

This error seems more related to compose and docker than to OrientDB. I don't think that compose interact directly with ODB, at least it talks with docker (daemon).
Can you attach your compose to the issue?

from orientdb-docker.

smolinari avatar smolinari commented on July 29, 2024

Do you mean the docker-compose.yml file?

This is it.

version: '2'

services:
  spider:
    build: .
    container_name: spider
    ports:
      - "9000:9000"
    links:
      - orientdb
    volumes:
      - /src:/spider/src
      - /tests:/spider/test

  orientdb:
    image: orientdb:latest
    container_name: orientdb
    environment:
      ORIENTDB_ROOT_PASSWORD: rootpwd
    ports:
       - "2424:2424"
       - "2480:2480"

Scott

from orientdb-docker.

robfrank avatar robfrank commented on July 29, 2024

I guess that the first container starts and then try to access to orient, that is still starting up.
There's a proposal : moby/moby#21142

Docker currently doesn't provide any built-in way to determine if a container is "alive" in the sense that the service it provides is up and running.

If this is your case, and I think it is, my suggestion is to add a cycle on startup that check orient availability

from orientdb-docker.

smolinari avatar smolinari commented on July 29, 2024

Ok. I'll look into doing something about the timing.

Scott

from orientdb-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.