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 *?
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 *?