-
Notifications
You must be signed in to change notification settings - Fork 385
Docker compose profile specification #669
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Currently we have an application that can use either mariadb or postgresql. To achieve this, we leveraged docker-compose's profiles & environment variable COMPOSE_PROFILE to pass on the desired profile.
But devcontainer script is passing --profile * to the docker-compose command by default without taking into account the desired profile specified in COMPOSE_PROFILE.
Can the script be modified to look for COMPOSE_PROFILE variable first before setting --profile *?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working