Some time in the past two weeks, an update to Docker for Mac (which may have included an update to the engine itself) has broken a docker-compose file I’ve been using, without edits, for years
I am running a Django application that serves through nginx.
Since the update, any attempt to access this application via the web (localhost) results in an empty response.
nginx container reports no errors, nothing in the logs suspicious at all on ANY of my containers, the application appears to be functioning normally, I have logging and error tracking tools running within Django that are still functioning (reporting logs, etc)
If I manually create an nginx container and bind it using docker CLI, it appears to work fine with this command
docker run -p 8000:80 -d nginx
but with my compose, still nothing.
version: '3.8'
services:
nginx:
image: nginx:1.19.10
restart: always
ports:
- "80:80"
- "443:443"