ahriman/recipes/distributed
Evgenii Alekseev 2d42424477
feat: add workers autodicsovery feature (#121)
* add workers autodicsovery feature

* suppress erros while retrieving worker list

* update recipes

* fix tests and update docs

* filter health checks

* ping based workers
2024-01-03 02:25:24 +02:00
..
compose.yml feat: add workers autodicsovery feature (#121) 2024-01-03 02:25:24 +02:00
nginx.conf chore: add configuration recipes 2023-12-20 10:00:12 +02:00
README.md feat: add workers autodicsovery feature (#121) 2024-01-03 02:25:24 +02:00
service.ini feat: add workers autodicsovery feature (#121) 2024-01-03 02:25:24 +02:00
worker.ini feat: add workers autodicsovery feature (#121) 2024-01-03 02:25:24 +02:00

Distributed

  1. Create user demo with password from AHRIMAN_PASSWORD environment variable.
  2. Setup repository named ahriman-demo with architecture x86_64.
  3. Start web server at port 8080.
  4. Start two workers.
  5. All updates triggered by the web server will be passed to workers.
  6. All updates from worker instances are uploaded to the web service.
  7. Repository is available at http://localhost:8080/repo.

In this example, worker list is automatically defined based on the addresses they reported.