From 7b1551532e163de0f309d588002a090af91a3835 Mon Sep 17 00:00:00 2001 From: bragov4ik <8144358+bragov4ik@users.noreply.github.com> Date: Sun, 4 Sep 2022 21:37:20 +0300 Subject: [PATCH] Typo in long syntax section in compose spec Description of code snippet in long syntax example of [secrets](https://docs.docker.com/compose/compose-file/#secrets) states that a name of a secret file is set to `server.crt` whereas in the snippet it is configured to `server.cert`. --- compose/compose-file/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose/compose-file/index.md b/compose/compose-file/index.md index cc2ef19cae..3f3d73209f 100644 --- a/compose/compose-file/index.md +++ b/compose/compose-file/index.md @@ -1662,7 +1662,7 @@ the service's containers. Default value is world-readable permissions (mode `0444`). The writable bit MUST be ignored if set. The executable bit MAY be set. -The following example sets the name of the `server-certificate` secret file to `server.crt` +The following example sets the name of the `server-certificate` secret file to `server.cert` within the container, sets the mode to `0440` (group-readable) and sets the user and group to `103`. The value of `server-certificate` secret is provided by the platform through a lookup and the secret lifecycle is not directly managed by the Compose implementation.