tpires/neo4j

Add support for setting auth credentials via environment variables

Closed this issue · 8 comments

This is a common pattern (see: official postgres image), which uses environment variables, e.g. NEO4J_USER and NEO4J_PASSWORD, to create these credentials in the container.

Would this be possible?

Just to clarify the use case, it seems that it is no longer possible to connect to new neo4j container without authenticating -- is this new/recent behavior? (Previously I could connect without specifying this.)

Re: my comment above, the recent 2.2.0 release of Neo4J is what made authentication mandatory.

It may be preferable to peg your image to a specific version (ie, not "stable") so that automatic rebuilds on the Docker Registry don't result in silent version bumps.

I'm with @pandeiro on this one. It would be nice to have some env vars for authentication.

it exists a fork with this feature https://github.com/artsince/docker-neo4j
@artsince can you please create a pull request 😉
it would be very nice :-)

@DavidBadura I created the PR #10

and the docker repository for the fork is here: https://registry.hub.docker.com/u/ahmetkizilay/docker-neo4j/

Thank you :-)

this can be closed :) ref #10