1
Docker Secrets
codedge edited this page 2020-08-16 16:15:23 +02:00
This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This feature is borrowed from mariadb docker image.

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/<secret_name> 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