You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Replace envconfig with env
* Adjust config options and processing
* Added _FILE variant for all password vars.
* Try pathenvconfig
* Revert everything so far
* Use our fork of envconfig with custom lookup
* Use our fork of envconfig with custom lookup
* Test compose timeout option
* Remove secret resolving and specific _FILE config
* Fix timing issue in swarm tests
* Revert "Test compose timeout option"
This reverts commit ab50b21, reversing
changes made to 0282514.
Revert "Test compose timeout option"
This reverts commit 0282514.
* Use offen/envconfig v1.5.0
* Add info about _FILE in README
* Value > File. Panic on file error. Panic on duplicate presence.
* Test panic on duplicate vars and panic on file error.
Copy file name to clipboardExpand all lines: README.md
+3-8Lines changed: 3 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -139,6 +139,9 @@ Documentation references Docker Hub, but all examples will work using ghcr.io ju
139
139
## Configuration reference
140
140
141
141
Backup targets, schedule and retention are configured in environment variables.
142
+
143
+
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.
144
+
142
145
You can populate below template according to your requirements and use it as your `env_file`:
143
146
144
147
```ini
@@ -233,14 +236,6 @@ You can populate below template according to your requirements and use it as you
233
236
# AWS_ACCESS_KEY_ID="<xxx>"
234
237
# AWS_SECRET_ACCESS_KEY="<xxx>"
235
238
236
-
# It is possible to provide the keys in files, allowing to hide the sensitive data.
237
-
# These values have a higher priority than the ones above, meaning if both are set
238
-
# the values from the files will be used.
239
-
# This option is most useful with Docker [secrets](https://docs.docker.com/engine/swarm/secrets/).
240
-
241
-
# AWS_ACCESS_KEY_ID_FILE="/path/to/file"
242
-
# AWS_SECRET_ACCESS_KEY_FILE="/path/to/file"
243
-
244
239
# Instead of providing static credentials, you can also use IAM instance profiles
245
240
# or similar to provide authentication. Some possible configuration options on AWS:
0 commit comments