aaa-docker-hw

0

Описание

Языки

  • Python85,8%
  • Dockerfile14,2%
год назад
год назад
год назад
год назад
README.md

Homework

Docker lecture repository at Avito's Analytics Academy Data Science course.

Step 1:

To understand how the application works, install the dependencies and open these urls (using curl or a browser):

Then go to this url:

Here you can see how many times you have opened

/books
,
/authors
or some other path. There is also a lot of additional information - server response time, etc.

Step 2.

Make a Dockerfile which uses python version 3.8 or higher as its base image, install dependencies and run

server.py
on port 8080. And after that build it with tag
server:0.0.1
.

Step 3.

Run the following commands:

Step 4.

Go to each url several times:

Step 5.

Open grafana in your browser.

Step 6.

Make a docker-compose file.