Mercure#

For information on what Mercure is, please see the introduction to Mercure in Mercure documentation.

Mercure can be enabled in all environment types by changing the following to the project’s .env file (or exporting them to environment variables prior to starting the environment):

REWARD_MERCURE=true -> REWARD_MERCURE=true

The following variables have predefined values and those can be changed optionally in the .env file:

  • SERVER_NAME=":80"

  • MERCURE_PUBLISHER_JWT_KEY="password"

  • MERCURE_PUBLISHER_JWT_ALG="HS256"

  • MERCURE_SUBSCRIBER_JWT_KEY="password"

  • MERCURE_SUBSCRIBER_JWT_ALG="HS256"

  • MERCURE_EXTRA_DIRECTIVES=""