Skip to content

Commit a190d56

Browse files
Fix plugin and config docker mount documentation (#3124) (#3150)
related to the issue #2703
1 parent 6e13a4c commit a190d56

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

modules/ROOT/pages/docker/mounting-volumes.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ See xref:docker/security.adoc[]
7676
See xref:monitoring/metrics/index.adoc[Metrics].
7777
|===
7878

79+
Keep in mind that mounted directories are connected to Neo4j by matching internal paths.
80+
If you build custom plugins directly into the image or want to bypass the Docker entrypoint automation in custom environments, you can explicitly override or bind the location by defining the `server.directories.plugins` setting.
81+
Note that the configuration directory itself cannot be changed this way; it is driven entirely by the `NEO4J_CONF` environment variable.
82+
7983
[[docker-volumes-data]]
8084
=== Mounting storage to `/data`
8185

modules/ROOT/pages/docker/plugins.adoc

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,6 @@ To use plugins in production with Neo4j Docker containers, see xref:docker/plugi
3939
The `NEO4J_PLUGINS` environment variable can be used to specify the plugins to install using this method.
4040
This should be set to a JSON-formatted list of the xref:configuration/plugins.adoc[supported plugins].
4141

42-
[NOTE]
43-
====
44-
Running Bloom in a Docker container requires Neo4j Docker image 4.2.3-enterprise or later.
45-
====
46-
4742
If invalid `NEO4J_PLUGINS` values are passed, Neo4j returns a notification that the plugin is not known.
4843
For example, `--env NEO4J_PLUGINS='["gds"]'` returns the following notification:
4944

@@ -59,8 +54,9 @@ graph-data-science
5954
n10s
6055
----
6156

62-
.Install the APOC Core plugin (`apoc`)
63-
====
57+
58+
=== Install the APOC Core plugin (`apoc`)
59+
6460
You can use the Docker argument `--env NEO4J_PLUGINS='["apoc"]'` and run the following command:
6561

6662
[source, shell, subs="attributes"]
@@ -71,10 +67,10 @@ docker run -it --rm \
7167
--env NEO4J_PLUGINS='["apoc"]' \
7268
neo4j:{neo4j-version-exact}
7369
----
74-
====
7570

76-
.Install the APOC Core plugin (`apoc`) and the Graph Data Science plugin (`graph-data-science`)
77-
====
71+
72+
=== Install the APOC Core plugin (`apoc`) and the Graph Data Science plugin (`graph-data-science`)
73+
7874
You can use the Docker argument `--env NEO4J_PLUGINS='["apoc", "graph-data-science"]'` and run the following command:
7975

8076
[source, shell, subs="attributes"]
@@ -85,7 +81,7 @@ docker run -it --rm \
8581
--env NEO4J_PLUGINS='["apoc", "graph-data-science"]' \
8682
neo4j:{neo4j-version-exact}
8783
----
88-
====
84+
8985

9086
[[docker-plugins-caching]]
9187
== Storing downloaded plugins

0 commit comments

Comments
 (0)