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

Limit ofelia to execute jobs in own docker stack only? #284

Closed
microrache opened this issue Jun 28, 2024 · 2 comments
Closed

Limit ofelia to execute jobs in own docker stack only? #284

microrache opened this issue Jun 28, 2024 · 2 comments

Comments

@microrache
Copy link

We run a docker-host running multiple stacks from multiple users. As I just added a new stack including ofelia, I noticed that this ofelia-container executed the job from a different stack which was already deployed on this host, which came with ofelia-labels (and an own ofelia-container). Is there a possibility to prevent multiple executions when ofelia is deployed multiple times to the same host? In other words, can I define a "job-whitelist" for one ofelia-container naming only the jobs this instance should be take care of? Or can I limit the "scope" of an ofelia-container to "jobs from this stack only"?

@taraspos
Copy link
Collaborator

Would this solve your problem?

@microrache
Copy link
Author

Yes, this is exactly I was looking for. Don't know I could have missed that, sorry.

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

No branches or pull requests

2 participants