Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 465 Bytes

Docker-Compose.md

File metadata and controls

25 lines (17 loc) · 465 Bytes

Docker Compose

  • Build and start containers in detached mode using docker-compose.yml:

    docker-compose up --build -d
  • Stop and remove all containers defined in docker-compose.yml:

    docker-compose down
  • View logs of all services defined in docker-compose.yml:

    docker-compose logs
  • Scale services to a specified number of instances:

    docker-compose up -d --scale <service-name>=<number>