Support a config file alongside env vars in containers #10
Reference in New Issue
Block a user
Delete Branch "benvin/config-file-and-env"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
A container could only be configured by
PDBMUX_*env vars; a mounted config file was not a supported option.How
--config <path>andPDBMUX_CONFIGselect the config file (flag > env > default search path).$XDG_CONFIG_HOME/$HOME/.configthen/etc/pdbmux/config.yaml, so a mounted configmap is picked up with no env var.config shownames the file it loaded, or the paths it searched; README documents the precedencedefaults < file < env < flags.