diff --git a/modules/ROOT/pages/docker/docker-compose-standalone.adoc b/modules/ROOT/pages/docker/docker-compose-standalone.adoc index f4b8b64be..ff464448a 100644 --- a/modules/ROOT/pages/docker/docker-compose-standalone.adoc +++ b/modules/ROOT/pages/docker/docker-compose-standalone.adoc @@ -1,4 +1,5 @@ :description: Running Neo4j in a Docker container using Docker Compose +:page-role: new-5.24 [[docker-compose-neo4j-standalone]] = Deploy a Neo4j standalone server using Docker Compose @@ -85,7 +86,10 @@ secrets: file: ./neo4j_auth.txt # <5> ---- <1> Mount the _/$HOME/neo4j/<..>:_ directories to local directories on your host machine to store logs, configuration, data, and plugins. -<2> Path to the file where the value for the `NEO4J_AUTH` environment variable can be found. +<2> Path to the secret (`neo4j_auth_file`) containing the `neo4j` username and password. +The secret value is read from the file specified in the `file` attribute of the `neo4j_auth_file` secret. +Multiple secrets can be defined in the `secrets` section of the `neo4j` service. +Secrets only support environment variables starting with `NEO4J_` and ending with `_FILE`. <3> The name of the secret, for example `neo4j_auth_file`. <4> Path to the _neo4j_auth.txt_ file. <5> The name of the secret in the `neo4j` service.