Skip to content

Instantly share code, notes, and snippets.

@mkreyman
Last active October 24, 2018 22:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mkreyman/980d26dc6f37c0976f1221c93f450432 to your computer and use it in GitHub Desktop.
Save mkreyman/980d26dc6f37c0976f1221c93f450432 to your computer and use it in GitHub Desktop.
version: "3.3"
services:
neo4j:
image: neo4j:latest
tty: true
environment:
- NEO4J_AUTH=none
- NEO4J_dbms_unmanaged__extension__classes=org.neo4j.graphql=/graphql
- NEO4J_dbms_security_procedures_unrestricted=apoc.\\\*
- NEO4J_apoc_import_file_enabled=true
ports:
- "7474:7474"
- "7687:7687"
volumes:
- ./data:/data
- ./plugins:/var/lib/neo4j/plugins
- ./tmp:/var/lib/neo4j/import/tmp
service:
image: shufo/phoenix:latest
tty: true
entrypoint:
- sh
- -c
- mix deps.get && mix phx.server
environment:
- NEO4J_HOST=neo4j
- HEX_UNSAFE_HTTPS=1
ports:
- "4000:4000"
volumes:
- ./:/app
working_dir: /app
depends_on:
- neo4j
links:
- neo4j
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment