Docker compose

1

docker-compose.yml

version: '3'

services:
  web:
    build: .
    ports:
      - "5000:5000"

version: '3': Specifies the version of the Docker Compose file syntax being used. In this case, it's version 3.

web: This is the name of the service. You can choose any name you like for your services. In this case, it's named web.

Last updated