Comments (4)
Hello @nanounanue
To change the password you need to set the NEO4J_AUTH
environment variable. See the "Environment variables" section of the image docs and the Neo4j manual for details.
I'm not sure what you mean by "access it from the shell". Can you expand on that?
from docker-neo4j.
Thank you for your quick response @benbc
I read the section that you mentioned, but How can I avoid that it asks change the password the first time?
And about the "access it from the shell", I mean that I open a neo4j-shell
and when I try to connect, It fails...
The docker-compose ps
output:
docker-compose ps
Name Command State Ports
-------------------------------------------------------------------------------------------------------------------------------------
docker_data_1 /docker-entrypoint.sh true Exit 0
docker_es_1 /docker-entrypoint.sh elas ... Up 0.0.0.0:9200->9200/tcp, 0.0.0.0:9300->9300/tcp
docker_graphdata_1 sh Exit 0
docker_graphdb_1 /var/lib/neo4j/bin/neo4j c ... Up 0.0.0.0:1337->1337/tcp, 0.0.0.0:7473->7473/tcp, 0.0.0.0:7474->7474/tcp
docker_nginx_1 /usr/sbin/nginx Up 0.0.0.0:80->80/tcp
docker_postgres_1 /docker-entrypoint.sh postgres Up 0.0.0.0:5432->5432/tcp
docker_redis_1 usr/local/bin/run Up 0.0.0.0:6379->6379/tcp
docker_web_1 /usr/local/bin/gunicorn -w ... Up 8000/tcp
The neo4j-shell
:
# nanounanue at heliodromus in ~/software/neo4j-community-2.3.1 [13:14:58]
$ bin/neo4j-shell
Welcome to the Neo4j Shell! Enter 'help' for a list of commands
NOTE: Remote Neo4j graph database service 'shell' at port 1337
neo4j-sh (?)$ help
Connection refused to host: 127.0.1.1; nested exception is:
java.net.ConnectException: Connection refused
neo4j-sh (?)$
from docker-neo4j.
How can I avoid that it asks change the password the first time?
You need to set the initial password using the environment variable NEO4J_AUTH
.
Have you read the section on the Neo4j shell in the docs here? (It's poorly formatted because of a bug in Docker Hub; the section you need is at the end.)
from docker-neo4j.
Hello @nanounanue. I hope you figured this out. I'm going to close the issue now -- please reopen it if you are still having problems.
from docker-neo4j.
Related Issues (20)
- Missing docker-entrypoint.sh in latest image? HOT 2
- Error using or configuring APOC in GithubAction HOT 1
- Why am I encountering an issue with the GDS library on a Neo4j Docker container on Windows, despite it working on Linux? HOT 5
- Version 4.4.19 fails when installing APOC HOT 3
- Missing proper health check
- chown: changing ownership of '/var/lib/neo4j/conf/neo4j.conf': Read-only file system HOT 3
- Volume inaccessible, although uid and gid match those of the user parameter HOT 2
- my_ip:7474 >> This site canβt be reached HOT 3
- Pods unready/CrashLoopBackOff with message "sed: cannot rename /var/lib/neo4j/conf/sed8pylkX: Operation not permitted" HOT 2
- neo4j-admin:5.10.0 not released on Docker Hub HOT 2
- Unable to mount local config folder with apoc.conf HOT 2
- ERROR: No compatible "graph-data-science" plugin found for Neo4j 5.13.0. HOT 8
- neo4j-admin:5.17.0 not released on Docker Hub HOT 1
- Docker bind only 192.168.58.110 address and not all interfaces HOT 1
- Plugins for "genai","n10s","graphql","graph-algorithms" missing after docker install neo4j:5.18 HOT 3
- Critical/High Severity issues reported by Snyk for neo4j:5.18.1
- conf folder not persisted
- openshift support with "random UID"
- neo4j-admin:5.20.0 not released on Docker Hub HOT 1
- Error when dumping database neo4j-admin Docker HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-neo4j.