process-compose
process-compose copied to clipboard
Disable loading .env file
Feature Request
Right now process compose loads the project .env file and makes it impossible to change any configuration while the processes are running.
I would like to have a flag in the configuration to disable this behavior. I set all relevant environment variables already before calling process compose
Hi,
I can provide an argument and an environment variable to disable the .env loading.
Do you think it will work for you?
Just so you know, process-compose (with .env file) doesn't override env variables that already exist.
I want that my application reads the .env and so I can change the environment variable without restarting process compose
That makes sense. Will the process compose argument to disable .env loading help you then?
yes or in the config file in the root level maybe :)
Released in v1.9.0
v1.9.0 is now available on nixpkgs unstable: https://search.nixos.org/packages?channel=unstable&from=0&size=50&sort=relevance&type=packages&query=process-compose