Commit 06c4c19a authored by Mahmoud Zalt's avatar Mahmoud Zalt

replace official neo4j image with tpires/neo4j

because of this wired error
(https://github.com/neo4j/docker-neo4j/issues/33)
parent 8bff7656
...@@ -32,7 +32,7 @@ services: ...@@ -32,7 +32,7 @@ services:
- /var/lib/mariadb - /var/lib/mariadb
- /var/lib/redis - /var/lib/redis
- /var/lib/memcached - /var/lib/memcached
- /var/lib/neo4j - /var/lib/neo4j/data
### Nginx Server Container ################################## ### Nginx Server Container ##################################
...@@ -101,7 +101,9 @@ services: ...@@ -101,7 +101,9 @@ services:
build: ./neo4j build: ./neo4j
ports: ports:
- "7474:7474" - "7474:7474"
- "7687:7687" - "1337:1337"
environment:
- NEO4J_AUTH=homestead:secret
volumes_from: volumes_from:
- data - data
links: links:
......
FROM neo4j:3.0 FROM tpires/neo4j
MAINTAINER Mahmoud Zalt <mahmoud@zalt.me> MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
VOLUME /var/lib/neo4j VOLUME /var/lib/neo4j/data
EXPOSE 7474 7687 EXPOSE 7474 1337
CMD ["neo4j"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment