Seeking Assistance with Corteza Discovery Vue Issue

Hi Corteza community,

I’m currently in the process of setting up Corteza Discovery. I followed the steps outlined in the documentation, specifically:

  1. Added Corteza Discovery to my Docker Compose, as detailed here: link to the documentation.
es:
    image: opensearchproject/opensearch:1.3.0
    restart: on-failure
    networks: [ internal ]
    environment:
      - cluster.name=es-docker-cluster
      - node.name=es
      - cluster.initial_master_nodes=es
      - bootstrap.memory_lock=true # along with the memlock settings below, disables swapping
      - OPENSEARCH_JAVA_OPTS=-Xms8000m -Xmx8000m # minimum and maximum Java heap size, recommend setting both to 50% of system RAM
      - DISABLE_INSTALL_DEMO_CONFIG=true
      - DISABLE_SECURITY_PLUGIN=true
      - VIRTUAL_HOST=${DOMAIN}/es
      - LETSENCRYPT_HOST=${DOMAIN}/es
    ulimits:
      memlock:
        soft: -1
        hard: -1
    volumes:
        - ./data/es:/usr/share/elasticsearch/data

  discovery:
    image: cortezaproject/corteza-server-discovery:${VERSION}
    restart: on-failure
    env_file: [ .env ]
    depends_on: [ es, server ]
    networks: [ internal ]
    environment:
      VIRTUAL_HOST: ${DOMAIN}/discovery
      VIRTUAL_PORT: 80
      LETSENCRYPT_HOST: ${DOMAIN}/discovery
  1. Created a new role and Auth Client, following the instructions provided here: link to the documentation.
DOMAIN=localhost:18080
VERSION=2023.9.0
HTTP_WEBAPP_LIST=admin,compose,workflow,reporter,discovery
DISCOVERY_ENABLED=true
DISCOVERY_DEBUG=true
DISCOVERY_CORTEZA_DOMAIN=http://localhost:18080
DISCOVERY_BASE_URL=http://localhost:18080/discovery
CORTEZA_SERVER_BASE_URL=http://server:80

ES_ADDRESS=http://es:9200
ES_INDEX_INTERVAL=300
HTTP_ADDR=0.0.0.0:80

# Corteza Discovery indexer configuration
DISCOVERY_INDEXER_ENABLED=true
DISCOVERY_INDEXER_PRIVATE_INDEX_CLIENT_KEY=362997844824555525
DISCOVERY_INDEXER_PRIVATE_INDEX_CLIENT_SECRET=UyN1kQhvwqxdDErlIbsp7WDY5WauaxeVVS556xfYkd3h78i5rA6ZwWXKDNWPVJOM
# Corteza Discovery searcher configuration
DISCOVERY_SEARCHER_ENABLED=true
DISCOVERY_SEARCHER_CLIENT_KEY=362997844824555525
DISCOVERY_SEARCHER_CLIENT_SECRET=UyN1kQhvwqxdDErlIbsp7WDY5WauaxeVVS556xfYkd3h78i5rA6ZwWXKDNWPVJOM
DISCOVERY_SEARCHER_JWT_SECRET=UyN1kQhvwqxdDErlIbsp7WDY5WauaxeVVS556xfYkd3h78i5rA6ZwWXKDNWPVJOM
DISCOVERY_SEARCHER_ALLOWED_ROLE=discoverer

  1. Integrated Corteza Discovery into my Application section in the admin area.

While I can successfully access Corteza Discovery, I am encountering a problem in the Vue environment. It seems there might be a misconfiguration, as the “resource” in Vue does not exist.

Thank you in advance for your time and support.