Get the env vars your app started with
The setup should be familiar. You have an app that is ready to ship, so you put it in a docker image. Any config after that is done mostly via env vars. For anything non-trivial like e.g - mounting and parsing secrets to env vars - making sure certain default values are overriden you need an init script that calculates the var’s desired value, then exports it like export MY_CONFIG_VAR=calculated_value And once done, you’d start the app with your equivalent of ...