I configured a devcontainer using a docker-compose.yaml. The „sidecars“ are a database and a Keycloak instance. It works well.
The Keycloak is only needed in some scenarios, so I’m looking for a way to start it conditionally. In docker compose I would use —profile somename as parameter for docker compose up.
Is there a way to incorporate that into the devcontainer lifecycle?