


You shouldn't install the neo4j-service in the same container as your python applications.

When I install neo4j-service in the same container using guide it works 14:01:36.718+0000 INFO Remote interface ready and available at 14:01:35.485+0000 INFO Mounting static content at /browser 14:01:35.417+0000 INFO Mounting static content at /webadmin On the docker neo4j container I see only: docker run -publish=7474:7474 -volume=$HOME/neo4j/data:/data kbhit/orangebox-db Return version_tuple()įile "/usr/local/lib/python2.7/site-packages/py2neo/core.py", line 213, in metadataįile "/usr/local/lib/python2.7/site-packages/py2neo/core.py", line 261, in get I get such errors: Traceback (most recent call last):įile "/app/orangebox/_init_.py", line 5, in įile "/app/orangebox/context.py", line 2, in įrom import DomainFactoryįile "/app/orangebox/domain/factory.py", line 4, in įile "/app/orangebox/domain/boxes.py", line 3, in įile "/app/orangebox/domain/users.py", line 4, in įile "/app/src/neomodel/neomodel/core.py", line 65, in _new_įile "/app/src/neomodel/neomodel/core.py", line 15, in install_labelsįile "/app/src/neomodel/neomodel/util.py", line 119, in new_sessionįile "/app/orangebox/domain/factory.py", line 3, in įrom import db_connectionįile "/app/orangebox/database/connection.py", line 22, in ĭb_connection = DatabaseConnection(address = os.environ)įile "/app/orangebox/database/connection.py", line 10, in _init_įile "/usr/local/lib/python2.7/site-packages/py2neo/ext/ogm/store.py", line 42, in _init_įile "/usr/local/lib/python2.7/site-packages/py2neo/core.py", line 1087, in supports_optional_matchįile "/usr/local/lib/python2.7/site-packages/py2neo/core.py", line 958, in neo4j_version
NEO4J DOCKER CODE
The problem is the piece of code I've written and ported to that container won't run anymore. Using curl I can access db from both host machine level and second machine (using the IP of the host itself). The second one is python:2.7-based container. The first one is based on ordinary neo4j:2.3 image with some forwarded ports (7474). I'm using two docker containers on one host machine.
