Skip to content
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 Headless Mode to Disable Web UI #800

Closed
yottahmd opened this issue Jan 22, 2025 · 1 comment · Fixed by #806
Closed

Add Headless Mode to Disable Web UI #800

yottahmd opened this issue Jan 22, 2025 · 1 comment · Fixed by #806
Milestone

Comments

@yottahmd
Copy link
Collaborator

yottahmd commented Jan 22, 2025

Background & Reasoning

When using Dagu servers as remote DAG executors, the RemoteNode configuration allows monitoring multiple remote servers through a single Web UI URL. In such scenarios, the Web UI on the remote executor server itself becomes unnecessary. Keeping both the monitoring server's URL and the remote executor server's URL accessible may lead to user confusion.

Proposed Design

Add a new configuration option, DAGU_HEADLESS, to disable the Web UI on the remote executor server.

Example Configuration:

# config.yaml
headless: true

Environment Variable:
DAGU_HEADLESS=1

Enabling this option will disable the Web UI on the remote server so that only a single URL is used for entire setup.

@yottahmd yottahmd added this to the v1.17.0 milestone Jan 22, 2025
@yottahmd yottahmd changed the title Add API_ONLY configuration option Add API_ONLY configuration option to disable Web UI on remote Dagu server Jan 22, 2025
@yottahmd yottahmd changed the title Add API_ONLY configuration option to disable Web UI on remote Dagu server Add DISABLE_WEB_UI configuration option to disable Web UI on remote Dagu server Jan 22, 2025
@yottahmd yottahmd changed the title Add DISABLE_WEB_UI configuration option to disable Web UI on remote Dagu server Add option to disable Web UI on remote Dagu server Jan 22, 2025
@yottahmd yottahmd changed the title Add option to disable Web UI on remote Dagu server Add Configuration Option to Disable Web UI on Remote Dagu Servers Jan 22, 2025
@yottahmd yottahmd changed the title Add Configuration Option to Disable Web UI on Remote Dagu Servers Add Headless Mode to Disable Web UI Jan 22, 2025
@kriyanshii
Copy link
Contributor

hey, i am working on it. will share a pr soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants