Debian – FastAPI cannot see PostgreSQL with docker-compose
I'm trying to attach a db to my python API. I use Windows 11, docker-compose, fastAPI. Not sure what is missing. In the logs I see the following: docker-compose logs -f time="2024-05-17T16:01:30+04:00" level=warning msg="\code\docker-compose.yml: `version` is obsolete" postgres-1 | postgres-1…