Kibana: Browse Integration loads infinitely

Hi,
I'm creating an elasticsearch cluster with docker (portainer).

However, the page to "Browse Integrations" on Kibana loads endlessly. Below is the screen

Kibana (Docker-compose)

  kibana:
    depends_on:
      - es01
      - es02
    image: docker.elastic.co/kibana/kibana:${STACK_VERSION}
    volumes:
      - /mnt/certs:/usr/share/kibana/config/certs
      - kibanadata:/usr/share/kibana/data
    ports:
      - ${KIBANA_PORT}:5601
    environment:
      - SERVERNAME=kibana
      - ELASTICSEARCH_HOSTS="[.....]"
      - ELASTICSEARCH_USERNAME=kibana_system
      - ELASTICSEARCH_PASSWORD=${KIBANA_PASSWORD}
      - ELASTICSEARCH_SSL_CERTIFICATEAUTHORITIES=config/certs/ca/ca.crt
    ulimits:
      memlock:
        soft: -1
        hard: -1
    healthcheck:
      test:
        [
          "CMD-SHELL",
          "curl -s -I http://localhost:5601 | grep -q 'HTTP/1.1 302 Found'",
        ]
      interval: 10s
      timeout: 10s
      retries: 120
    deploy:
      mode: global
      placement:
        constraints: [node.hostname == kibana-01]

I use a proxy, it has been set on the machine and docker, but not on the individual services (in docker compose). In fact a simple curl does not work from the kibana container
curl -Is | head -n 1.

Do I have to set the proxy? If so, only on kibana (logstash?elasticsearch?). How do you set it via docker-compose?

I tried to add an environment variable like

  • HTTP_PROXY=...
  • HTTPS_PROXY=...
  • ...

But nothing.

Any suggestions?

Thanks

I solved it by setting the proxy in the kibana.yml file

xpack.fleet.registryProxyUrl: