Skip to content

arribada/EnvToFile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple tool that reads all env variables and writes each one to a file. Useful in environments where the only way to add configuratios is through env variables and need to use docker images which accept configs only through files.

See the docker-compose file for a full example.

To write all current env variable and a custom CONFIG variable in the current dir:

VALUE=val CONFIG="var=$VALUE" go run main.go --dir=./

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published