F1bonacc1 / process-compose

Process Compose is a simple and flexible scheduler and orchestrator to manage non-containerized applications.
https://f1bonacc1.github.io/process-compose/
Apache License 2.0
1.34k stars 52 forks source link

Disable loading .env file #192

Closed shyim closed 4 months ago

shyim commented 5 months ago

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

F1bonacc1 commented 5 months ago

Hi,

I can provide an argument and an environment variable to disable the .env loading. Do you think it will work for you?

F1bonacc1 commented 5 months ago

Just so you know, process-compose (with .env file) doesn't override env variables that already exist.

shyim commented 5 months ago

I want that my application reads the .env and so I can change the environment variable without restarting process compose

F1bonacc1 commented 5 months ago

That makes sense. Will the process compose argument to disable .env loading help you then?

shyim commented 5 months ago

yes or in the config file in the root level maybe :)

F1bonacc1 commented 4 months ago

Released in v1.9.0

RafaelKr commented 3 months ago

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