Skip to content

Commit d177275

Browse files
authored
1 parent 7b87c22 commit d177275

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

modules/ROOT/pages/docker/docker-compose-standalone.adoc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
:description: Running Neo4j in a Docker container using Docker Compose
2+
:page-role: new-5.24
23
[[docker-compose-neo4j-standalone]]
34
= Deploy a Neo4j standalone server using Docker Compose
45

@@ -85,7 +86,10 @@ secrets:
8586
file: ./neo4j_auth.txt # <5>
8687
----
8788
<1> Mount the _/$HOME/neo4j/<..>:_ directories to local directories on your host machine to store logs, configuration, data, and plugins.
88-
<2> Path to the file where the value for the `NEO4J_AUTH` environment variable can be found.
89+
<2> Path to the secret (`neo4j_auth_file`) containing the `neo4j` username and password.
90+
The secret value is read from the file specified in the `file` attribute of the `neo4j_auth_file` secret.
91+
Multiple secrets can be defined in the `secrets` section of the `neo4j` service.
92+
Secrets only support environment variables starting with `NEO4J_` and ending with `_FILE`.
8993
<3> The name of the secret, for example `neo4j_auth_file`.
9094
<4> Path to the _neo4j_auth.txt_ file.
9195
<5> The name of the secret in the `neo4j` service.

0 commit comments

Comments
 (0)