Siguria & Cloud

Docker Compose

Në shqip përdoret i njëjti emër.

ShpjegimiSQ

Docker Compose të lejon ta nisësh një aplikacion me disa kontejnerë — p.sh. serveri, databaza dhe Redis — me një skedar YAML dhe një komandë të vetme: docker compose up.

EnglishEN

Docker Compose lets you start an app made of several containers — e.g. the server, the database and Redis — with one YAML file and a single command: docker compose up.

Si ta mendosh

Si dirigjenti i një orkestre: me një lëvizje i nis të gjithë instrumentet bashkë.

Lexoje në anglisht

Like an orchestra conductor: one gesture starts all the instruments together.

Shembull kodiyaml

services:
  web: { build: ., ports: ["3000:3000"] }
  db:  { image: postgres:16 }

Terma të lidhur