mirror of
https://github.com/offen/docker-volume-backup.git
synced 2024-11-10 00:30:29 +01:00
Add note about potential leading and trailing whitespace in Docker secrets
This commit is contained in:
parent
2d81ac046b
commit
2252c26edf
@ -9,7 +9,9 @@ nav_order: 2
|
|||||||
Backup targets, schedule and retention are configured using environment variables.
|
Backup targets, schedule and retention are configured using environment variables.
|
||||||
|
|
||||||
{: .note }
|
{: .note }
|
||||||
You can use any environment variable from below also with a `_FILE` suffix to be able to load the value from a file. This is usually useful when using [Docker Secrets](https://docs.docker.com/engine/swarm/secrets/) or similar.
|
You can use any environment variable from below also with a `_FILE` suffix to be able to load the value from a file.
|
||||||
|
This is typically useful when using [Docker Secrets](https://docs.docker.com/engine/swarm/secrets/) or similar.
|
||||||
|
Note that secrets will not be trimmed of leading or trailing whitespace.
|
||||||
|
|
||||||
{: .warning }
|
{: .warning }
|
||||||
In case you encounter double quoted values in your runtime configuration you might still be using an [older version of `docker-compose`][compose-issue].
|
In case you encounter double quoted values in your runtime configuration you might still be using an [older version of `docker-compose`][compose-issue].
|
||||||
|
Loading…
Reference in New Issue
Block a user