1

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?

asked Jul 31, 2025 at 5:51

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.