You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 6, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: integration/docker/docker-2.x/index.html
+34-14Lines changed: 34 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -605,7 +605,8 @@ <h1 class="entry-title">Docker image for Neo4j 2.x</h1>
605
605
<iclass="fa icon-note" title="Note"></i>
606
606
</td>
607
607
<tdclass="content">
608
-
Docker does not run natively on Mac OSX or Windows. For running Docker on <ahref="https://docs.docker.com/engine/installation/mac/">Max OSX</a> and <ahref="https://docs.docker.com/engine/installation/windows/">Windows</a> please consult the Docker documentation.
608
+
Docker does not run natively on Mac OSX or Windows.
609
+
For running Docker on <ahref="https://docs.docker.com/engine/installation/mac/">Mac OSX</a> and <ahref="https://docs.docker.com/engine/installation/windows/">Windows</a> please consult the Docker documentation.
609
610
</td>
610
611
</tr>
611
612
</table>
@@ -641,7 +642,8 @@ <h3>Overview</h3>
641
642
<iclass="fa icon-note" title="Note"></i>
642
643
</td>
643
644
<tdclass="content">
644
-
All the volumes in this documentation are stored under <code>$HOME</code> in order to work on OSX where <code>$HOME</code> is automatically mounted into the machine VM. On Linux the volumes can be stored anywhere.
645
+
All the volumes in this documentation are stored under <code>$HOME</code> in order to work on OSX where <code>$HOME</code> is automatically mounted into the machine VM.
646
+
On Linux the volumes can be stored anywhere.
645
647
</td>
646
648
</tr>
647
649
</table>
@@ -653,7 +655,8 @@ <h3>Overview</h3>
653
655
<iclass="fa icon-note" title="Note"></i>
654
656
</td>
655
657
<tdclass="content">
656
-
By default Neo4j requires authentication. You have to login with <code>neo4j/neo4j</code> at the first connection and set a new password.
658
+
By default Neo4j requires authentication.
659
+
You have to login with <code>neo4j/neo4j</code> at the first connection and set a new password.
657
660
</td>
658
661
</tr>
659
662
</table>
@@ -687,13 +690,17 @@ <h3>Neo4j editions</h3>
687
690
688
691
689
692
<divclass="paragraph">
690
-
<p>Neo4j Enterprise Edition is designed for commercial deployments where scale and availability are important. Use of Neo4j Enterprise Edition requires a commercial license agreement with Neo Technology. Please see <ahref="http://neo4j.com/licensing/">Neo4j licensing</a> for details.</p>
693
+
<p>Neo4j Enterprise Edition is designed for commercial deployments where scale and availability are important.
694
+
Use of Neo4j Enterprise Edition requires a commercial license agreement with Neo Technology.
695
+
Please see <ahref="http://neo4j.com/licensing/">Neo4j licensing</a> for details.</p>
691
696
</div>
692
697
693
698
694
699
695
700
<divclass="paragraph">
696
-
<p>Tags are available for both editions. Version-specific Enterprise tags have an <code>-enterprise</code> suffix (like <code>neo4j:2.3.0-enterprise</code>), Community tags have no suffix (like <code>neo4j:2.3.0</code>). The latest Enterprise release is available as <code>neo4j:enterprise</code>.</p>
701
+
<p>Tags are available for both editions.
702
+
Version-specific Enterprise tags have an <code>-enterprise</code> suffix (like <code>neo4j:2.3.0-enterprise</code>), Community tags have no suffix (like <code>neo4j:2.3.0</code>).
703
+
The latest Enterprise release is available as <code>neo4j:enterprise</code>.</p>
<p>Docker controls the number of open file descriptors in a container; the limit depends on the configuration of your system. We recommend a limit of at least 40000 for running Neo4j.</p>
720
+
<p>Docker controls the number of open file descriptors in a container; the limit depends on the configuration of your system.
721
+
We recommend a limit of at least 40000 for running Neo4j.</p>
714
722
</div>
715
723
716
724
@@ -748,7 +756,9 @@ <h3>Neo4j configuration</h3>
748
756
749
757
750
758
<divclass="paragraph">
751
-
<p>The default configuration provided by this image is intended for learning about Neo4j, but must be modified to make it suitable for production use. In particular the memory assigned to Neo4j is very limited (see <code>NEO4J_CACHE_MEMORY</code> and <code>NEO4J_HEAP_MEMORY</code> below), to allow multiple containers to be run on the same server. You can read more about configuring Neo4j in the <ahref="http://neo4j.com/docs/stable/configuration.html">manual</a>.</p>
759
+
<p>The default configuration provided by this image is intended for learning about Neo4j, but must be modified to make it suitable for production use.
760
+
In particular the memory assigned to Neo4j is very limited (see <code>NEO4J_CACHE_MEMORY</code> and <code>NEO4J_HEAP_MEMORY</code> below), to allow multiple containers to be run on the same server.
761
+
You can read more about configuring Neo4j in the <ahref="http://neo4j.com/docs/stable/configuration.html">manual</a>.</p>
<p>Any configuration files in the <code>/conf</code> volume will override files provided by the image. This includes values that may have been set in response to environment variables passed to the container by Docker. So if you want to change one value in a file you must ensure that the rest of the file is complete and correct.</p>
863
+
<p>Any configuration files in the <code>/conf</code> volume will override files provided by the image.
864
+
This includes values that may have been set in response to environment variables passed to the container by Docker.
865
+
So if you want to change one value in a file you must ensure that the rest of the file is complete and correct.</p>
854
866
</div>
855
867
856
868
@@ -921,7 +933,8 @@ <h3>Neo4j HA</h3>
921
933
922
934
923
935
<divclass="paragraph">
924
-
<p>In order to run Neo4j in HA mode under Docker you need to wire up the containers in the cluster so that they can talk to each other. Each container must have a network route to each of the others and the <code>NEO4J_HA_ADDRESS</code> and <code>NEO4J_INITIAL_HOSTS</code> environment variables must be set according (see above).</p>
936
+
<p>In order to run Neo4j in HA mode under Docker you need to wire up the containers in the cluster so that they can talk to each other.
937
+
Each container must have a network route to each of the others and the <code>NEO4J_HA_ADDRESS</code> and <code>NEO4J_INITIAL_HOSTS</code> environment variables must be set according (see above).</p>
925
938
</div>
926
939
927
940
@@ -956,7 +969,8 @@ <h3>Plugins and unmanaged extensions</h3>
956
969
957
970
958
971
<divclass="paragraph">
959
-
<p>To install a plugin or unmanaged extension, provide a <code>/plugins</code> volume containing the jars. For unmanged extensions you also need to provide an environment variable specifying a URI mapping.</p>
972
+
<p>To install a plugin or unmanaged extension, provide a <code>/plugins</code> volume containing the jars.
973
+
For unmanged extensions you also need to provide an environment variable specifying a URI mapping.</p>
960
974
</div>
961
975
962
976
<divclass="listingblock">
@@ -992,19 +1006,22 @@ <h3>AppArmor</h3>
992
1006
993
1007
994
1008
<divclass="paragraph">
995
-
<p>Neo4j uses of <code>lsof</code> to ensure the server is running and accepting connections on a given port. Some AppArmor configurations (specifically the default configuration on Linux Mint) prevent <code>lsof</code> from working as expected.</p>
1009
+
<p>Neo4j uses of <code>lsof</code> to ensure the server is running and accepting connections on a given port.
1010
+
Some AppArmor configurations (specifically the default configuration on Linux Mint) prevent <code>lsof</code> from working as expected.</p>
996
1011
</div>
997
1012
998
1013
999
1014
1000
1015
<divclass="paragraph">
1001
-
<p>A workaround is to run the docker image in privileged mode, by adding <code>--privileged=true</code> to the docker command line. This is a workaround that disables the security provided by AppArmor, and is not recommended for deployments.</p>
1016
+
<p>A workaround is to run the docker image in privileged mode, by adding <code>--privileged=true</code> to the docker command line.
1017
+
This is a workaround that disables the security provided by AppArmor, and is not recommended for deployments.</p>
1002
1018
</div>
1003
1019
1004
1020
1005
1021
1006
1022
<divclass="paragraph">
1007
-
<p>The current best known solution is to enable the use of ptrace in the docker profile of AppArmor. Do this by adding the following line to <code>/etc/init.d/docker</code>:</p>
1023
+
<p>The current best known solution is to enable the use of ptrace in the docker profile of AppArmor.
1024
+
Do this by adding the following line to <code>/etc/init.d/docker</code>:</p>
1008
1025
</div>
1009
1026
1010
1027
<divclass="literalblock">
@@ -1024,7 +1041,10 @@ <h3>HTTPS support</h3>
1024
1041
1025
1042
1026
1043
<divclass="paragraph">
1027
-
<p>To use your own key and certificate, provide an <code>/ssl</code> volume with the key and certificate inside. The key filename must end in <code>.key</code>, and the certificate in <code>.cert</code>. Only one of each file may be present. You must also publish port <code>7473</code> to access the HTTPS endpoint.</p>
1044
+
<p>To use your own key and certificate, provide an <code>/ssl</code> volume with the key and certificate inside.
1045
+
The key filename must end in <code>.key</code>, and the certificate in <code>.cert</code>.
1046
+
Only one of each file may be present.
1047
+
You must also publish port <code>7473</code> to access the HTTPS endpoint.</p>
<p><spanclass="image"><imgsrc=".cypher_match_1.png" alt=".cypher match 1" width="49%"></span>
822
-
<spanclass="image"><imgsrc=".cypher_match_2.png" alt=".cypher match 2" width="49%"></span></p>
821
+
<p><spanclass="image"><imgsrc="http://dev.assets.neo4j.com.s3.amazonaws.com/wp-content/uploads/cypher_match_1.png" alt="cypher match 1" width="49%"></span>
822
+
<spanclass="image"><imgsrc="http://dev.assets.neo4j.com.s3.amazonaws.com/wp-content/uploads/cypher_match_2.png" alt="cypher match 2" width="49%"></span></p>
0 commit comments