Best option is likely: * Dynaconf - give an environment variable to the docker image: https://www.dynaconf.com/#layered-environments-on-files * export ENV_FOR_DYNACONF=development * Pass it in from Machine - which would be set by app_settings var.