Page MenuHomeSoftware Heritage

docker-compose: declare swh counters containers
ClosedPublic

Authored by vsellier on Mar 12 2021, 5:00 PM.

Details

Summary
  • Add them in a specific docker-compose file as they are not mandatory
  • Declare 2 new topics in the kafka's initialization (used by the

journal client)

Related to T2912

Diff Detail

Repository
rDENV Development environment
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

vsellier planned changes to this revision.EditedMar 12 2021, 5:02 PM

The debian package a first release is needed to be able to launch the counters without overrides

Add the swh-counters in the docker image

anlambert added a subscriber: anlambert.
anlambert added inline comments.
docker/docker-compose.yml
28

-ge 6 to be sure all topics are created.

docker/services/swh-counters/entrypoint.sh
13

swh-counters

This revision now requires changes to proceed.Mar 12 2021, 5:19 PM
docker/docker-compose.yml
28

thanks I missed it

docker/services/swh-counters/entrypoint.sh
13

oups copy/paste alert

  • adapt the kafka's healthcheck
  • remove the typo on the initial log of the swh-counters container
This revision is now accepted and ready to land.Mar 12 2021, 5:36 PM