Using the Stripe CLI with Docker Compose

How to use the Stripe CLI as a service within a Docker Compose project.