Inspecting the Stack File: Services

Let's examine the services section of the stack file.

Services are where most of the action happens.

Each service is a JSON collection (dictionary) that contains a bunch of keys. We’ll step through each one and explain what each of the options does.

The reverse_proxy service

As you can see, the reverse_proxy service defines an image, ports, secrets, and networks.

Get hands-on with 1200+ tech skills courses.