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

docker_compose_v2: add scale option #776

Merged

Conversation

felixfontein
Copy link
Collaborator

SUMMARY

Adds a scale option equivalent to docker compose up --scale.

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

docker_compose_v2

@felixfontein felixfontein added the docker-compose-v2 Docker Compose v2 label Jan 23, 2024
@felixfontein
Copy link
Collaborator Author

Right now it does not inform the user about changes when the count is reduced, due to Docker Compose itself not reporting that it shuts down containers: docker/compose#11391

@felixfontein
Copy link
Collaborator Author

Right now it does not inform the user about changes when the count is reduced, due to Docker Compose itself not reporting that it shuts down containers: docker/compose#11391

Has been fixed in docker/compose#11393 and should be available in the next Docker Compose release.

@felixfontein felixfontein merged commit 32cb76b into ansible-collections:main Jan 24, 2024
122 of 123 checks passed
@felixfontein felixfontein deleted the docker-compose-scale branch January 24, 2024 06:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docker-compose-v2 Docker Compose v2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant