Issuing requests against our microservice

In order to test our microservice, we require a database, running migrations, and our service itself. We’re going to build a docker-compose.yml file which takes care of all of this.

The docker-compose file

In order to use the docker-compose.yml file, first you need to run make && make docker to build the required docker images.

I started with a simple docker-compose.yml file, like this:

version: '3.4' services: stats: image: titpetric/service-stats restart: always environment:...
 •  0 comments  •  flag
Share on Twitter
Published on December 14, 2019 05:10
No comments have been added yet.