diff --git a/docker-compose.yml b/docker-compose.yml --- a/docker-compose.yml +++ b/docker-compose.yml @@ -232,7 +232,20 @@ environment: SWH_WORKER_INSTANCE: content_mimetype depends_on: - - swh-scheduler-api + - swh-scheduler-runner + - swh-idx-storage + - swh-storage + - swh-objstorage + - amqp + + swh-indexer-license: + image: swh/indexer-worker + build: ./dockerfiles/swh-indexer-worker + env_file: ./indexers.env + environment: + SWH_WORKER_INSTANCE: content_fossology_license + depends_on: + - swh-scheduler-runner - swh-idx-storage - swh-storage - swh-objstorage diff --git a/dockerfiles/swh-indexer-worker/fossology_license.yml b/dockerfiles/swh-indexer-worker/fossology_license.yml new file mode 100644 --- /dev/null +++ b/dockerfiles/swh-indexer-worker/fossology_license.yml @@ -0,0 +1,12 @@ +storage: + cls: remote + args: + url: http://swh-storage:5002/ +objstorage: + cls: remote + args: + url: http://swh-objstorage:5003/ +indexer_storage: + cls: remote + args: + url: http://swh-idx-storage:5007/