-
-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an optional parameter --config
for all sub commands
#216
Comments
--dags
, --host
and --port
for dagu server
command--config
for dagu server
command
--config
for dagu server
command--config
for dagu server
command
Should merge admin-configuration, env、admin config、global config into one config file, and the config file can specify by --config? I think this way is clearer to config server or scheduler and easy to organize multiple instances's data. |
By the way, we can remove the rely of the $HOME path. Dagu's work dir can specify in the config file. |
Make dagu's execution environment don't rely on some sys environment. It is useful to run dagu on cloud or container platform. User can run dagu multi-instance or multi-tenancy. |
Thanks for the great suggestions!
I agree 100%. Good idea.
Yes, I was thinking of adding a config option |
I think config have a single entry is important. Currently admin's config some in admin.yaml, some in env. I am confused about it.
It's a little messy now :) and some code is coupling. My idea:
refer to kubernetes:
dagu can as:
|
Thanks for sharing the great idea!
Yeah, let's make it to a single entry for config. I think it's best to have only env for basic config. Only
How about having a new admin field baseConfig: <path/to/global-config-yaml> For the other idea, I agree 100% :) |
Follow this pattern:
I think env is for dagu's basic work, link save database、logs、suspend eg. Some default configs value can use default env value to set default value, link data path eg. But it is not use to find config, it is use to dagu self work, like save state、cache eg.
|
Fantastic! I agree completely 👍 . |
--config
for dagu server
command--config
for all sub commands
done! |
Why: this makes it easier to run multiple Dagu servers on a single instance.
The text was updated successfully, but these errors were encountered: