Page MenuHomeSoftware Heritage

maven: add index nginx host in docker dev setup
ClosedPublic

Authored by borisbaldassari on Jan 15 2022, 8:06 PM.

Details

Summary

Adds a container to the docker-dev setup to run a nginx server to host the extracted
maven index file. This "external" server is required to run the maven-lister.
The served directory is in conf/maven-index, feel free to use any fld file instead.

Command used to run the lister:

swh scheduler task add  list-maven-full url=https://repo1.maven.org/maven2/ index_url=http://swh-lister-maven-nginx/export.fld

Related to T1724

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

vlorentz added a subscriber: vlorentz.
vlorentz added inline comments.
docker/docker-compose.yml
429–436

the comment only applies to this item, it's not its own section

This revision is now accepted and ready to land.Jan 17 2022, 10:15 AM