Yet again a run with on prem package-registry issue

I tried the workaround but with no luck any inside that you could provide me. I'm using kibana and elastic on docker ubuntu 20.04 here is my docker compose file for kibana.

kib01:
    image: docker.elastic.co/kibana/kibana:${VERSION}
    container_name: kib01
    depends_on: {"es01": {"condition": "service_healthy"}}
    ports:
      - 5601:5601    
    environment:
      SERVERNAME: localhost
      ELASTICSEARCH_URL: https://es01:9200
      ELASTICSEARCH_HOSTS: https://es01:9200
      ELASTICSEARCH_USERNAME: kibana_system
      ELASTICSEARCH_PASSWORD: GSdJ674nFKMwlRuYDZYB
      ELASTICSEARCH_SSL_CERTIFICATEAUTHORITIES: $CERTS_DIR/ca/ca.crt
      SERVER_SSL_ENABLED: "true"
      SERVER_SSL_KEY: $CERTS_DIR/kib01/kib01.key
      SERVER_SSL_CERTIFICATE: $CERTS_DIR/kib01/kib01.crt
      XPACK_ENCRYPTEDSAVEDOBJECTS_ENCRYPTIONKEY: "emagF7vyXDZ6LKsTYdvwWXjgx6sx2GfK"
      XPACK_FLEET_REGISTRYURL: "http://localhost:8080"      
    volumes: 
      - certs:$CERTS_DIR
    networks:
      - elastic     
volumes:
  data01:
    driver: local
  data02:
    driver: local
  data03:
    driver: local
  certs:
    driver: local

networks: 
  elastic:
    driver: bridge

@DartShinigami could you please detail what were the problem you were facing?

Cheers

Sorry for late response; I fix it BTW!!!!!. The error was trying to run the service in the same virtual machine with the elastic and kibana, I created another virtual machine and pointed the XPACK_FLEET_REGISTRYURL: to that one and all went fine.

Best Regards

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.