Closed
Description
I am considering forking docker-gen (which means learning go) to support the following flow:
- docker-gen listens for enviornment variables DB_HOST, DB_USER, DB_PASSWORD, DB_NAMESPACE (or less offensive generalisation)
- when a container starts the docker-gen host spits out and applies SQL of a "IF NOT EXISTS CREATE DATABASE xxx; GRANT ALL ON xxx TO yyy' persuasion
From what I can tell, the missing element from the existing software is the list of variables - or perhaps the documentation reflects the initial purpose and this is already possible - making this a "Documentation Request" rather than "Feature Request"
In the considered use-case there may be issues relating to multiple services and host/network naming.
Metadata
Metadata
Assignees
Labels
No labels