Skip to content

How to spin up a subset of services from a docker-compose.yml #122

Description

@MartyMcFlyInTheSky

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions