@@ -30,6 +30,41 @@ additional settings, volumes, ports, etc.
3030| DRUPAL_ENABLE_HTTPS | true | Inform PHP that ` https ` should be used. |
3131| DRUPAL_REVERSE_PROXY_IPS | | Use the IP address for the host 'traefik' if found otherwise default to ` 0.0.0.0 ` . |
3232
33+ ### Symfony Messenger Worker Settings
34+
35+ This image can manage Islandora Events Messenger workers directly with
36+ ` s6-overlay ` . That is intended for single-container or small deployment
37+ topologies where worker processes should live beside PHP-FPM.
38+
39+ Set ` DRUPAL_SM_WORKERS_MODE=container ` to enable the built-in workers. Leave it
40+ as ` external ` to run workers elsewhere.
41+
42+ | Environment Variable | Default | Description |
43+ | :-------------------------------------------- | :------- | :-------------------------------------------------------------------------- |
44+ | DRUPAL_SM_WORKERS_MODE | external | ` container ` runs local ` drush sm:consume ` services, ` external ` disables them |
45+ | DRUPAL_SM_WORKERS_DERIVATIVES_ENABLED | true | Enable the derivative transport worker when local workers are enabled |
46+ | DRUPAL_SM_WORKERS_INDEX_FEDORA_ENABLED | true | Enable the Fedora indexing worker when local workers are enabled |
47+ | DRUPAL_SM_WORKERS_INDEX_BLAZEGRAPH_ENABLED | true | Enable the Blazegraph indexing worker when local workers are enabled |
48+ | DRUPAL_SM_WORKERS_TIME_LIMIT | 3600 | ` drush sm:consume --time-limit ` value used before the worker is restarted |
49+ | DRUPAL_SM_WORKERS_FETCH_SIZE | | Optional ` drush sm:consume --fetch-size ` value for Symfony 8.1+ |
50+ | DRUPAL_SM_WORKERS_NO_RESET | | Set to ` true ` to pass ` drush sm:consume --no-reset ` on Symfony 8.1+ |
51+ | DRUPAL_SM_WORKERS_RETRY_DELAY | 30 | Seconds to wait before retrying when Drupal is not ready or a worker exits |
52+ | DRUPAL_SM_WORKERS_URI | | Optional Drush ` --uri ` value for multisite bootstrap |
53+
54+ ` DRUPAL_SM_WORKERS_FETCH_SIZE ` and ` DRUPAL_SM_WORKERS_NO_RESET ` are opt-in so
55+ the image remains safe on current Drupal and Symfony releases. Only set them
56+ when the target ` sm:consume ` command supports those options.
57+
58+ The built-in worker services are:
59+
60+ - ` islandora_derivatives `
61+ - ` islandora_index_fedora `
62+ - ` islandora_index_blazegraph `
63+
64+ ` external ` mode does not use a worker URL. Distributed workers are simply the
65+ same ` drush sm:consume ` commands running in another container, pod, or host
66+ against the same Drupal site and queue backend.
67+
3368### Database Settings
3469
3570[ Drupal] can make use of different database backends for storage. Please see the
0 commit comments