Install plugins in dockerized neo4j

Hi community, I'm trying to install Neo4j Graph Algorithms plugin in a dockerized neo4j. I'm using Ubuntu and all install buttons are disabled in Neo4j Desktop.

I have downloaded the neo4j-graph-algorithms- and I have copped it in the plugins directory of neo4j container volume.

1- How to install a plugin in dockerized neo4j?
2- How to make sure that the plugin has installed successfully in neo4j?
3- Why all buttons are disabled in Neo4j Desktop, in my Ubuntu, while even I'm online?

Can you post your yml file or your docker run commands?

You would need to add:

  • NEO4J_dbms_security_procedures_unrestricted=apoc.,algo.
  • NEO4J_dbms_security_procedures_whitelist=apoc.,algo.
1 Like

Thanks @david.fauth .let me check and share the results.:pray:

very recent versions of the docker container automate downloading and configuring addon libraries. Currently you can use apoc, algo, and graphql. See

1 Like

Thanks, @stefan.armbruster, I have added the environment variable which was mentioned in the tweet, but for this docker-compose and now it's working well:

version: '3'

    image: neo4j:latest
    network_mode: "bridge"
      - "7474:7474"
      - "7687:7687"
      - NEO4J_dbms_security_procedures_unrestricted=apoc.*,algo.*
      - NEO4J_dbms_security_procedures_whitelist=apoc.*,algo.*
      - NEO4J_apoc_import_file_enabled=true
      - NEO4J_dbms_shell_enabled=true
      - NEO4JLABS_PLUGINS=["apoc", "graph-algorithms"]
      - ./volume/plugins:/plugins
      - ./volume/data:/data
      - ./volume/import:/import

docker-compose log:

neo4j_1  | Fetching versions.json for Plugin 'apoc' from
neo4j_1  | Installing Plugin 'apoc' from to /plugins/apoc.jar 
neo4j_1  | Fetching versions.json for Plugin 'graph-algorithms' from
neo4j_1  | Installing Plugin 'graph-algorithms' from to /plugins/graph-algorithms.jar 
neo4j_1  | Active database: graph.db
neo4j_1  | Directories in use:
neo4j_1  |   home:         /var/lib/neo4j
neo4j_1  |   config:       /var/lib/neo4j/conf
neo4j_1  |   logs:         /logs
neo4j_1  |   plugins:      /plugins
neo4j_1  |   import:       /import
neo4j_1  |   data:         /var/lib/neo4j/data
neo4j_1  |   certificates: /var/lib/neo4j/certificates
neo4j_1  |   run:          /var/lib/neo4j/run
neo4j_1  | Starting Neo4j.
neo4j_1  | 2020-01-15 09:34:55.248+0000 WARN  Unknown config option:
neo4j_1  | 2020-01-15 09:34:55.262+0000 INFO  ======== Neo4j 3.5.14 ========
neo4j_1  | 2020-01-15 09:34:55.271+0000 INFO  Starting...
neo4j_1  | 2020-01-15 09:35:03.123+0000 INFO  Bolt enabled on
neo4j_1  | 2020-01-15 09:35:04.485+0000 INFO  Started.
neo4j_1  | 2020-01-15 09:35:05.450+0000 INFO  Remote interface available at http://localhost:7474/

thanks, guys. @stefan.armbruster, @david.fauth :pray: