Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a YAML file to configure…