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

refactor: Simplify configuration #29

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

tomi
Copy link
Contributor

@tomi tomi commented Nov 27, 2024

RemoveN8N_RUNNER_URI and N8N_RUNNERS_SERVER_ENABLED env vars. These can be statically. For the launcher to be able to monitor the runner, the N8N_RUNNERS_SERVER_ENABLED env var needs to be set to true. Hence there's not reason to let it be configurable. Same applies for N8N_RUNNER_URI, which we know is going to be localhost, since the launcher starts the runner.

Remove`N8N_RUNNER_URI` and `N8N_RUNNERS_SERVER_ENABLED` env vars.
These can be statically. For the launcher to be able to monitor the runner, the
`N8N_RUNNERS_SERVER_ENABLED` env var needs to be set to `true`. Hence
there's not reason to let it be configurable. Same applies for `N8N_RUNNER_URI`,
which we know is going to be localhost, since the launcher starts the runner.
Copy link
Contributor

@ivov ivov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙏🏻

@tomi tomi merged commit c08c849 into main Nov 27, 2024
2 checks passed
@tomi tomi deleted the cat-365-simplify-launcher-configuration branch November 27, 2024 09:59
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 this pull request may close these issues.

2 participants