I have an application running locally and I have a docker container running via docker compose:
  swagger:
    image: swaggerapi/swagger-ui:v3.23.5
    ports:
      - "7171:8080"
    networks:
      - dockernet
    expose:
      - 8080
    environment:
      - URL=http://192.168.10.20:8080/actions/v3/api-docs
192.168.10.20 is my localhost.
if I access http://192.168.10.20:8080/actions/v3/api-docs via the browser I see the response but the swagger service can't access it.
How to fix it?
 
    