The indexers are configured entirely via environment variables.
The following environment variables are accepted, by indexer sub command:
ELASTICSEARCH_ENDPOINT
: URI for the Elasticsearch API endpoint.GITHUB_TOKEN
: If the repo is private, use this access token.INDEX_NAME
: Name of the search index to maintain.BASE_URL
: URL corresponding to the published root page of the site.REPOSITORY_HANDLE
: Github organization and repository name in the formatorg/repo
.REPOSITORY_BRANCH
: Defaults tomain
.REPOSITORY_SUBFOLDER
: Only look into this path within the repository for indexable content.TYPE_LABEL
: User friendly search result type name.APIDOCS_BASE_URI
: Base URI for API documentation. Should behttps://docs.giantswarm.io/api/
.APIDOCS_BASE_PATH
: Should be/api/
API_SPEC_FILES
: Comma separated list of YAML files to fetch for the OpenAPI spec.
HUBSPOT_ACCESS_TOKEN
: Hubspot Private App access token (must have at least the scopecontent
).