Docker Compose now supports profiles for selective use of services. Services in your docker-compose.yml can be linked to one or more named profiles. Passing a profile name to docker-compose up will start just the services in that profile, letting you create variants of your stack for specific environments and configurations.
Read This Article on CloudSavvy IT ›
https://bit.ly/3jZvSp0
https://bit.ly/3jZvSp0