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

per en/la

Tauler de classificació

Estil visual

Opcions

AI Enhanced: Aquesta activitat conté contingut generat per IA. Aprèn més.

Canvia de fonament

Restaurar desada automàtica: ?