docker-compose -f docker-compose.yml up --build -d
don't turn off container and run
docker-compose run web alembic revision --autogenerate -m 'migration name'
docker-compose run web alembic upgrade head
http://localhost:8000/refresh/
HTTP/1.1 200 ok Date: Thu, 24 Feb 2011 12:36:30 GMT Status: 200 ok Connection: close Content-Type: application/json Content-Length: 4
http://localhost:8000/convert/
BODY:
{
"original": "USD",
"target": "RUB",
"amount": 10000
}
HTTP/1.1 200 ok Date: Thu, 24 Feb 2011 12:36:30 GMT Status: 200 ok Connection: close Content-Type: application/json Content-Length: 4
109.6513
http://localhost:8000/last_update/
HTTP/1.1 200 ok Date: Thu, 24 Feb 2011 12:36:30 GMT Status: 200 ok Connection: close Content-Type: application/json Content-Length: 4
"2024-02-28T22:57:45.836333+00:00"