Environment variables
This reference lists environment variables used by the Algolia extension
Debug
This extension will output some debug informations if Front-Commerce is run with
the DEBUG environment variable containing front-commerce:algolia.
Required environment variables
When
the extension is configured in the standalone flavor,
the following variables must be defined:
FRONT_COMMERCE_ALGOLIA_APPLICATION_IDwith the Application IDFRONT_COMMERCE_ALGOLIA_SEARCH_ONLY_API_KEYwith the search only API keyFRONT_COMMERCE_ALGOLIA_INDEX_NAME_PREFIXwith the prefix of indices to take into account
Optional environment variables
FRONT_COMMERCE_ALGOLIA_TIMEOUT_CONNECT- Connection timeout in milliseconds (default:2000). See how to configure timeouts for more details.FRONT_COMMERCE_ALGOLIA_TIMEOUT_READ- Read timeout in milliseconds (default:5000). See how to configure timeouts for more details.FRONT_COMMERCE_ALGOLIA_SORT_INDEX_KEY_PRICE- Index key to use for sorting by price (default:price_default). See how to configure the Algolia module for more details.