From 38daa6a33bffc64f9372ae7103262c48cbe5d4bb Mon Sep 17 00:00:00 2001 From: codedge Date: Sun, 16 Aug 2020 16:15:23 +0200 Subject: [PATCH] Created Docker Secrets (markdown) --- Docker-Secrets.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 Docker-Secrets.md diff --git a/Docker-Secrets.md b/Docker-Secrets.md new file mode 100644 index 0000000..049d1f9 --- /dev/null +++ b/Docker-Secrets.md @@ -0,0 +1,6 @@ +:information_source: This feature is borrowed from [mariadb docker image](https://hub.docker.com/_/mariadb). + +As an alternative to passing sensitive information via environment variables, `_FILE` may be appended to the below listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in _/run/secrets/_ files. + +Supported are these variables: +`APP_KEY`, `API_SECRET`, `CLOUDFLARE_API_KEY`, `DB_USERNAME`, `DB_PASSWORD`, `MAIL_USERNAME`, `MAIL_PASSWORD`, `MAILGUN_SECRET`, `S3_KEY`, `S3_SECRET` \ No newline at end of file