How to spin up a subset of services from a docker-compose.yml
Open
- Dominant language
- Python
- Stars
- 489
- Forks
- 77
- PR merge metrics
- No merged PRs in 30d
Description
Is there a way to advise pytest-docker to spin up just a subset of all the services declared in the docker-compose.yml?
e.g. the same as the command equivalent:
`docker compose -f docker-compose.yml up --build mock1 mock2`
(when there might be also mock3 mock4... declared in docker-compose.yml)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the docker compose command shown in the issue and inspect pytest-docker's service-startup configuration and documentation. Done means pytest-docker can select named services such as mock1 and mock2 while leaving other declared services stopped, with the behavior verified by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, docker-compose, python
- Domain
- devops, testing-qa
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100