Provide an environment variable for each flag to make configuration using Docker and docker-compose easier. Also, organize the parsing of these variables, as well as the program's flags, into their own separate functions for better readability for organization. Also, for each flag in the usage message, print its corresponding environment variable. For example:
Summary and Scope
Provide an environment variable for each flag to make configuration using Docker and docker-compose easier. Also, organize the parsing of these variables, as well as the program's flags, into their own separate functions for better readability for organization. Also, for each flag in the usage message, print its corresponding environment variable. For example:
in the above, setting
BSS_INSECURE=true
would be equivalent to passing the-insecure
flag.Issues and Related PRs
Testing
Tested on:
cg-head
and compute nodes)