Lesson 1.3

Local stacks with Compose

Compose runs your app together with its database and cache, with one file describing the whole local environment.

Duration
3m
Level
Advanced
Students
7.7k students

Overview

Compose runs your app together with its database and cache, with one file describing the whole local environment.

In this lesson you will:

  • Define multi-service stacks in one file
  • Wire up networks, volumes, and environment variables
  • Keep local configuration close to production

Resources

Kubernetes documentation

The official reference for the tools used in this lesson.