service

A long-running program that waits for and answers requests, such as a web API or a database; in Compose, one named entry under services.

In more detail

In this course the spine service is a small Python web API. In a Compose file each service becomes one or more containers with the same configuration, and other services reach it on the Compose network by its service name.

Related terms

Taught in

References