Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running Notebooks Using Docker #1

Open
psychemedia opened this issue Apr 11, 2016 · 0 comments
Open

Running Notebooks Using Docker #1

psychemedia opened this issue Apr 11, 2016 · 0 comments

Comments

@psychemedia
Copy link

To try to get quickstarted on this, I used a docker compose file to wire together a scipy notebook and neo4j using the following docker-compose.yml file:

neo4j:
  image: kbastani/docker-neo4j:latest
  ports:
    - "7474:7474"
    - "1337:1337"
  volumes:
    - /opt/data
jupyterscipy:
  image: jupyter/scipy-notebook
  ports:
    - "8888:8888"
  links:
    - neo4j:neo4j

cd into the directory containing the docker-compose.yml file and run: docker-compose up -d

To connect to the neo4j db: graph = Graph("http://neo4j:7474/db/data/")

Also, I note that when running the hello-world notebook, you try to save an image into the figure dir, which may not exist. Something like mkdir -p figure should fix that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant