Changeset View
Changeset View
Standalone View
Standalone View
docker/docker-compose.yml
Show First 20 Lines • Show All 331 Lines • ▼ Show 20 Lines | swh-loader: | ||||
user: swh | user: swh | ||||
environment: | environment: | ||||
SWH_WORKER_INSTANCE: loader | SWH_WORKER_INSTANCE: loader | ||||
SWH_CONFIG_FILENAME: /loader.yml | SWH_CONFIG_FILENAME: /loader.yml | ||||
entrypoint: /entrypoint.sh | entrypoint: /entrypoint.sh | ||||
depends_on: | depends_on: | ||||
- swh-storage | - swh-storage | ||||
- swh-scheduler | - swh-scheduler | ||||
- swh-deposit | |||||
- amqp | - amqp | ||||
volumes: | volumes: | ||||
- "./conf/loader.yml:/loader.yml:ro" | - "./conf/loader.yml:/loader.yml:ro" | ||||
- "./services/swh-worker/entrypoint.sh:/entrypoint.sh:ro" | - "./services/swh-worker/entrypoint.sh:/entrypoint.sh:ro" | ||||
swh-loader-deposit: | |||||
image: swh/stack | |||||
build: ./ | |||||
env_file: | |||||
- ./env/common_python.env | |||||
- ./env/workers.env | |||||
user: swh | |||||
environment: | |||||
anlambert: Maybe it could be set to `loader-deposit` ? | |||||
Done Inline Actionsyes, why not. ardumont: yes, why not.
i don't remember what that entails exactly. | |||||
SWH_WORKER_INSTANCE: loader-deposit | |||||
SWH_CONFIG_FILENAME: /loader-deposit.yml | |||||
entrypoint: /entrypoint.sh | |||||
depends_on: | |||||
- swh-storage | |||||
- swh-scheduler | |||||
- swh-deposit | |||||
- amqp | |||||
volumes: | |||||
- "./conf/loader-deposit.yml:/loader-deposit.yml:ro" | |||||
- "./services/swh-worker/entrypoint.sh:/entrypoint.sh:ro" | |||||
# Indexer Celery workers | # Indexer Celery workers | ||||
swh-indexer: | swh-indexer: | ||||
image: swh/stack | image: swh/stack | ||||
build: ./ | build: ./ | ||||
user: swh | user: swh | ||||
env_file: | env_file: | ||||
- ./env/common_python.env | - ./env/common_python.env | ||||
▲ Show 20 Lines • Show All 52 Lines • Show Last 20 Lines |
Maybe it could be set to loader-deposit ?