Editted neo4j compose.yml

This commit is contained in:
Pratik Khanolkar 2020-05-02 05:13:35 +00:00
parent 980a4aa9ad
commit d330d39a92
2 changed files with 16 additions and 5 deletions

10
docker-compose.neo4j.yml Normal file
View File

@ -0,0 +1,10 @@
neo4j:
ports:
- '7401:7474'
- '7602:7687'
environment:
- NEO4J_AUTH=none
volumes:
- '/root/neo4j/data:/data'
- '/root/neo4j/logs:/logs'
image: 'neo4j:latest'

View File

@ -543,14 +543,15 @@ services:
### Neo4j ################################################
neo4j:
build: ./neo4j
ports:
- "7474:7474"
- "1337:1337"
- '7401:7474'
- '7402:7687'
environment:
- NEO4J_AUTH=default:secret
- NEO4J_AUTH=none
volumes:
- ${DATA_PATH_HOST}/neo4j:/var/lib/neo4j/data
- ${DATA_PATH_HOST}/neo4j/data:/data
- ${DATA_PATH_HOST}/neo4j/logs:/logs
image: 'neo4j:latest'
networks:
- backend