docs/compose
Edgars Baduns 7b6f2d918a
Clarify the source name of secrets and configs
The current wording of "name of the config as it exists in Docker" suggests that the real generated name is used, instead the "key" of `configs` object in the docker-compose file is used.

```yml
version: "3.5"

services:
  app:
    image: alpine
    configs:
      # documentation currently suggests this (the "name as in Docker")
      # this causes an error- undefined config "name-as-in-docker"
      - source: name-as-in-docker
        target: /config-with-name-as-in-docker.json

      # the correct source to use is the name (key) from this docker-compose file
      - source: name-as-in-file
        target: /config-with-name-as-in-file.json

configs:
  name-as-in-file:
    name: name-as-in-docker
    file: ./cfg.json
```
2021-04-13 19:28:07 +03:00
..
compose-file Clarify the source name of secrets and configs 2021-04-13 19:28:07 +03:00
images Add new Docker Compose Example Screenshots (#12012) 2021-01-18 15:21:46 +00:00
reference Add documentation for Compose service profiles 2021-01-25 14:42:20 +01:00
aspnet-mssql-compose.md Remove references to obsolete engine versions 2020-10-26 15:45:07 +01:00
cli-command-compatibility.md Update compose-cli compatibility list 2021-04-09 09:54:35 -03:00
cli-command.md Debugging the codeblock in the Linux install for Compose CLI (#12551) 2021-03-23 21:37:57 +00:00
completion.md Minor style update 2021-03-25 15:29:17 +00:00
django.md Merge pull request #12461 from irlcatgirl/patch-1 2021-03-18 15:04:33 +00:00
env-file.md Update docs on Compose environment files (#12514) 2021-03-23 21:42:08 +00:00
environment-variables.md Update docs on Compose environment files (#12514) 2021-03-23 21:42:08 +00:00
extends.md Remove another warning on V1 file reference 2021-03-16 11:29:19 +00:00
faq.md TASK: Add codeblocks to code examples 2021-03-04 12:06:54 +01:00
gettingstarted.md Update gettingstarted.md 2020-12-19 20:16:24 +01:00
gpu-support.md Updated the link to use relative path 2021-02-16 10:24:11 +00:00
index.md Update docs on Compose environment files (#12514) 2021-03-23 21:42:08 +00:00
install.md Update dependencies on install 2021-02-15 12:40:55 -03:00
networking.md Remove references to v1 from other topics 2021-03-15 19:35:03 +00:00
production.md TASK: Add codeblocks to code examples 2021-03-04 12:06:54 +01:00
profiles.md Fix long line wrapping on Compose service profiles page 2021-01-27 14:47:40 +01:00
rails.md TASK: Add codeblocks to code examples 2021-03-04 12:06:54 +01:00
release-notes.md Release notes for docker-compose 1.29.0 2021-04-06 23:13:32 +02:00
samples-for-compose.md Compose minor improvements (#12426) 2021-03-02 17:01:51 +00:00
startup-order.md (temporarily) replace compose-file deep links to v3 docs 2021-01-07 14:21:37 +01:00
wordpress.md TASK: Add codeblocks to code examples 2021-03-04 12:06:54 +01:00