I have a Dockerfile with EXPOSE 8000
in it. The Docker Compose file that runs it has:
services:
api:
image: <local image>
ports:
- "8000:8000"
When I exec into the container, the api is running and I can curl
it. However, I cannot reach it from the host.