Please keep the following things in mind:
What am I trying to achieve ?
I am trying to install and setup neo4j and load data and complete the entire proj through docker
neo4j
FROM neo4j:latest
here i set the password after installation
RUN pip install --no-cache-dir neo4j pandas pyarrow
ENV NEO4J_AUTH=neo4j/project1phase1
RUN echo "NEO4J_AUTH=neo4j/newpassoword" >> /etc/environment
I tried to set this in docker but I am unable to login and run the files below due to authentication failure
(Attempt 1/10) Error: {code: Neo.ClientError.Security.Unauthorized} {message: The client is unauthorized due to authentication failure.}
some data stuff
Run the data loader script
RUN chmod +x /cse511/data_loader.py &&
neo4j start &&
python3 data_loader.py &&
neo4j stop
- neo4j version -2025.02.0, desktop version
- I want to set this password directly in docker file after installation , I fail to do so.
please let me know how I can set this before I load the data and I cannot make change the how i load the data.