Aiohttp and NGINX running in Docker Aiohttp and NGINX running in Docker nginx nginx

Aiohttp and NGINX running in Docker


Aiohttp is running on the port 8001 in the container toolservice, but your proxying to the port 80.

proxy_pass http://toolservice;

Try proxying to 8001:

proxy_pass http://toolservice:8001;

Maybe you will need to fix publishing of the port for toolservice container - I'm not 100% sure:

  ports:    - "8001:8001"