Docker Compose, Runs multiple containers as one application stack, docker-compose.yml, Describes the services and configuration of the application, Service, Defines a long-running container such as api or mongo, Image, Blueprint used to create a container, Container, Running instance of an image, Network, Allows services to communicate with each other, Volume, Keeps data available across container restarts, docker compose up -d, Starts the application stack in the background, docker compose down, Stops and removes the containers, docker compose ps, Shows the status of Compose services, docker compose logs, Displays service log output, docker compose build, Builds or rebuilds the application images, docker compose exec api sh, Opens a shell inside the running API container, mongo, Service name the API can use to reach MongoDB, MONGO_URL, Environment variable containing the MongoDB connection configuration

Docker Compose Match-Up

Leaderboard

Visual style

Options

AI Enhanced: This activity contains content generated by AI. Learn more.

Switch template

Continue editing: ?