Skip to content

feat(compose): allow running specific services in compose - #337

Merged
tillahoffmann merged 7 commits into
testcontainers:mainfrom
backmarket-oss:master
May 9, 2023
Merged

feat(compose): allow running specific services in compose#337
tillahoffmann merged 7 commits into
testcontainers:mainfrom
backmarket-oss:master

Conversation

@balint-backmaker

@balint-backmaker balint-backmaker commented Apr 19, 2023

Copy link
Copy Markdown
Contributor

Changes

  • the DockerCompose class now has a new optional argument for services
  • this allows you to run specific services only instead of all of them
  • auto-sorting of imports in the compose/__init__.py for convenience (no proper isort right now, just this file)

Issues

Should resolve #315 on a very basic level.

I'll be raising more PRs for QoL:
https://github.com/testcontainers/testcontainers-python/issues?q=is%3Aopen+is%3Aissue+compose

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docker compose start with selected service

3 participants