Git Product home page Git Product logo

neo4j's Issues

Restore after stop

Hi,
i'm trying your docker image, but the i have a problem when i stop and start the container.

Example:
RUN container -> IPADDR 172.10.1.42, so neo4j conf is listening on the correct ip
STOP container
START container -> now the value of IPADDR is 172.10.1.43 but the neo4j configuration has not replace d the old ip

this is the log of the container :

10:47:18.357 [main] WARN  o.e.j.u.component.AbstractLifeCycle - FAILED ServerConnector@17a5e4ea{HTTP/1.1}{172.10.1.42:7474}: java.net.BindException: Cannot assign requested address
java.net.BindException: Cannot assign requested address

How can i manage start and stop?

Thanks

config neo4j in docker-compose.yml?

Hi,

I am new to Docker. I have a Rails app that uses Neo4j graph database, and I would like to run this app in docker. I'd want to use a docker-compose.yml to have two services, one is neo4j and the other is web that links to neo4j. In neo4j service part, I would like to use the neo4j image you created (and hosted in Docker Hub):

neo4j:
image: tpires/neo4j
ports:
- "7474:7474"
....

web:
build .
...
links:
- neo4j

I'd want to run the neo4j image with authentication enabled and a username/password set, just like what you mentioned:

docker run -i -t -d -e NEO4J_AUTH=username:password --name neo4j --cap-add=SYS_RESOURCE -p 7474:7474 tpires/neo4j

How would I do it from within my docker-compose.yml? If neo4j's authentication can't be set in docker-compose.yml, where can I do it?

Thanks for your any input.

Alex

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.