CLI
docker compose
Use the -f flag to specify the location of a Compose
configuration file.

# To start all the services defined in your compose.yaml file
docker compose up
# To stop and remove running services
docker compose down
# View logs
docker compose logs
# View status
docker compose ps
Profiles
Here you specify the profile you intend to start, in this case frontend and tools have both been enabled.
docker compose --profile frontend --profile tools up
# or
COMPOSE_PROFILES=frontend,tools docker compose up