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

Ability to use the docker-compose-dev with only 1 task replica #1055

Open
3 tasks done
AlanCoding opened this issue Sep 17, 2024 · 0 comments
Open
3 tasks done

Ability to use the docker-compose-dev with only 1 task replica #1055

AlanCoding opened this issue Sep 17, 2024 · 0 comments

Comments

@AlanCoding
Copy link
Member

Please confirm the following

  • I agree to follow this project's code of conduct.
  • I have checked the current issues for duplicates.
  • I understand that EDA-Controller is open source software provided for free and that I might not receive a timely response.

Feature type

New Feature

Feature Summary

Ability to use this docker-compose file with only 1 task & podman node

https://github.com/ansible/eda-server/blob/main/tools/docker/docker-compose-dev.yaml

Steps to reproduce

Run the docker-compose development environment.

Compare to others like docker-compose-stage.yaml

Current results

The -stage file allows customizing the worker count with EDA_DEFAULT_WORKERS but the development docker-compose does not

Sugested feature result

I realize there may be platform differences (like running on a Mac) that may prevent replicas: from working correctly in every way that someone wants to use it. And for the -dev target, yeah, it makes sense to make it as flexible as possible. However, I would argue that if this should be the run-anywhere target, then it makes more sense to use 1 worker. So I'd suggest the result would be either:

  • the docker-compose-dev option is configurable with the env var EDA_DEFAULT_WORKERS
  • the docker-compose-dev option just runs 1 worker

Additional information

No response

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

1 participant