docker-compose: Expose swh-scheduler api to port 5008
It misses the listener/runner services (pulls rabbitmq server dependency).
Related swh-environment#1443 (closed)
Test Plan
docker-compose up
Then in another terminal:
$ curl http://localhost:5008/
SWH Scheduler API server%
Note: !117 (closed) 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"
Migrated from D819 (view on Phabricator)