Changeset View
Changeset View
Standalone View
Standalone View
docs/run_a_new_lister.rst
Show All 21 Lines | 1. You must edit the docker-compose override file (`docker-compose.override.yml`). | ||||
The file named `docker-compose.override.yml` will automatically be loaded by | The file named `docker-compose.override.yml` will automatically be loaded by | ||||
``docker-compose``.Having an override makes it possible to run a docker container | ``docker-compose``.Having an override makes it possible to run a docker container | ||||
with some swh packages installed from sources instead of using the latest | with some swh packages installed from sources instead of using the latest | ||||
published packages from pypi. For more details, you may refer to README.md | published packages from pypi. For more details, you may refer to README.md | ||||
present in ``swh-docker-dev``. | present in ``swh-docker-dev``. | ||||
2. Follow the instruction mentioned under heading **Preparation steps** and | 2. Follow the instruction mentioned under heading **Preparation steps** and | ||||
**Configuration file sample** in README.md of swh-lister. | **Configuration file sample** in README.md of swh-lister. | ||||
3. Add in the lister configuration the new ``task_modules`` and ``task_queues`` | 3. Add in the lister configuration the new ``task_modules`` and ``task_queues`` | ||||
entry for the your new lister. You need to amend the conf/lister.yml file to | entry for the your new lister. You need to amend the docker/conf/lister.yml file to | ||||
add the entries. Here is an example for GNU lister:: | add the entries. Here is an example for GNU lister:: | ||||
celery: | celery: | ||||
task_broker: amqp://guest:guest@amqp// | task_broker: amqp://guest:guest@amqp// | ||||
task_modules: | task_modules: | ||||
... | ... | ||||
- swh.lister.gnu.tasks | - swh.lister.gnu.tasks | ||||
task_queues: | task_queues: | ||||
▲ Show 20 Lines • Show All 49 Lines • Show Last 20 Lines |