Skip to content

rafaeladolfo/DockerComposeProductApi

Repository files navigation

DockerComposeProductApi

.Net core docker compose example.

  • Install docker
  • Use your terminal and navigate to the project folder where the dockercompose file is (docker-compose.yml)
  • Type docker-compose up -d
  • After building type: docker-compose ps -> you will see the website online at the 5555 port.
  • Open your browser/postman and send a get request to localhost:5555/api/products
  • You will see a json file with products information