Skip to content

runfourestrun/neo4j-airflow

Repository files navigation

Airflow to orchestrate personal Neo4j projects

Prepare the environment:

airflow docker-compose pulled from here: https://airflow.apache.org/docs/apache-airflow/2.0.1/start/docker.html

  1. Create volumes for airflow:
  • $AIRFLOW_HOME/confg
  • $AIRFLOW_HOME/dags
  • $AIRFLOW_HOME/logs
  1. Create volumes for Neo4j:
  • $HOME/neo4j_docker_mounts/conf
  • $HOME/neo4j_docker_mounts/data
  • $HOME/neo4j_docker_mounts/logs
  1. Copy neo4j.conf to $HOME/neo4j_docker_mounts/conf

  2. Run

docker-compose up airflow-init
  1. Run
docker-compose up

Graphs to orchestrate:

  • Olympics

Problems:

  • I think there is just bad cypher since I'm getting an error

**Sample Neo4j Docker Run command


docker run \
    --name neo-alexander-image \
    -p 7474:7474 -p 7687:7687 \
    -d \
    -v $HOME/neo4j_docker_mounts/data:/data \
    -v $HOME/neo4j_docker_mounts/logs:/logs \
    -v $HOME/neo4j_docker_mounts/conf:/conf \
    --env NEO4J_AUTH=neo4j/test \
    --env NEO4J_ACCEPT_LICENSE_AGREEMENT=yes \
    neo4j:enterprise
    
  

About

personal airflow instance for orchestrating neo4j

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published