diff --git a/README.md b/README.md index 7ecfd30bc..991847a79 100644 --- a/README.md +++ b/README.md @@ -95,14 +95,16 @@ The precendence is `CLI argument > Environment Variable > Configuration File > D The preprocessing acts as a program that takes an input directory that contains the to-be-processed data and an output directory where the processed data will be stored. Both need to be mounted to the container. -SILO also expects a database config and a preprocessing config that need to be mounted to the default locations. + +SILO expects a preprocessing config that can to be mounted to the default location `/app/preprocessing_config.yaml`. + +Additionally, a database config and a ndjson file containing the data are required. They should typically be mounted in `/preprocessing/input`. ```shell docker run \ -v your/input/directory:/preprocessing/input \ -v your/preprocessing/output:/preprocessing/output \ - -v your/preprocessing_config.yaml:/app/preprocessing_config.yaml \ - -v your/database_config.yaml:/app/database_config.yaml \ + -v your/preprocessing_config.yaml:/app/preprocessing_config.yaml silo preprocessing ``` diff --git a/docker-compose-for-tests-preprocessing-from-ndjson.yml b/docker-compose-for-tests-preprocessing-from-ndjson.yml index 24b71ada0..ab5fb6166 100644 --- a/docker-compose-for-tests-preprocessing-from-ndjson.yml +++ b/docker-compose-for-tests-preprocessing-from-ndjson.yml @@ -6,7 +6,6 @@ services: - ./testBaseData/exampleDataset:/preprocessing/input - ./testBaseData/output:/preprocessing/output - ./testBaseData/exampleDataset/preprocessing_config.yaml:/app/preprocessing_config.yaml - - ./testBaseData/exampleDataset/database_config.yaml:/app/database_config.yaml - ./logs:/app/logs command: - "preprocessing"