diff --git a/docker/conf/storage.yml b/docker/conf/storage.yml --- a/docker/conf/storage.yml +++ b/docker/conf/storage.yml @@ -2,8 +2,7 @@ cls: local db: postgresql:///?service=swh-storage objstorage: - cls: remote - url: http://swh-objstorage:5003/ + cls: noop journal_writer: cls: kafka args: diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -196,6 +196,26 @@ - "./conf/scheduler.yml:/scheduler.yml:ro" - "./services/swh-scheduler-worker/entrypoint.sh:/entrypoint.sh:ro" + swh-scheduler-schedule-recurrent: + image: swh/stack + build: ./ + env_file: + - ./env/common_python.env + - ./env/scheduler-db.env + - ./env/scheduler.env + environment: + SWH_CONFIG_FILENAME: /scheduler.yml + SWH_SCHEDULER_CONFIG_FILE: /scheduler.yml + LOGLEVEL: INFO + entrypoint: /entrypoint.sh + command: schedule-recurrent --period 10 + depends_on: + - swh-scheduler + - amqp + volumes: + - "./conf/scheduler.yml:/scheduler.yml:ro" + - "./services/swh-scheduler-worker/entrypoint.sh:/entrypoint.sh:ro" + # Graph storage swh-storage-db: