Skip to content

Pure bash script to add Docker secrets as environment variables.

License

Notifications You must be signed in to change notification settings

naymspace/env-secrets-expand

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

env-secrets-expand

Pure bash script to add Docker secrets as environment variables.

Usage

It will change all the environment variables with the placeholder {{DOCKER-SECRET:secret-name}} by the content of a secret with the name secret-name when added to the entrypoint.

Credits

This script is heavily inspired by @bvis (see https://gist.github.com/bvis/b78c1e0841cfd2437f03e20c1ee059fe).

About

Pure bash script to add Docker secrets as environment variables.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages