Page MenuHomeSoftware Heritage

docker-compose: Expose swh-scheduler api to port 5008
AbandonedPublic

Authored by ardumont on Dec 14 2018, 2:42 PM.

Details

Reviewers
vlorentz
douardda
Group Reviewers
Reviewers
Summary

It misses the listener/runner services (pulls rabbitmq server
dependency).

Related T1443

Test Plan
docker-compose up

Then in another terminal:

$ curl http://localhost:5008/
SWH Scheduler API server%

Note: D817 landed but as the cascading tag (swh-core, swh-storage, now
swh-scheduler) has not been done yet.

You need to mount volumes to work with the current head of swh-env
(update it to current master).

/swh-docker-dev/docker-compose.override.yml:

version: '2'

services:
  swh-storage:
    volumes:
      - "${SWH_ENVIRONMENT_HOME}/swh-core:/src/swh-core"
  swh-scheduler:
    volumes:
      - "${SWH_ENVIRONMENT_HOME}/swh-core:/src/swh-core"

Diff Detail

Repository
rCDFD Dockerfiles for developers
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 3038
Build 3878: arc lint + arc unit