From 8b5f143b0a6dfb32606ceda419865a66951888f9 Mon Sep 17 00:00:00 2001 From: LSmyrnaios Date: Wed, 24 May 2023 14:10:57 +0300 Subject: [PATCH] Place the "workerReports" and the "bulkImportReports" dirs inside the "reports" parent-directory. --- docker-compose.yml | 7 ++----- src/main/resources/application.yml | 4 ++-- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index b5091ef..a5e481c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -20,11 +20,8 @@ services: source: /mnt/bulk_import target: /mnt/bulk_import - type: bind - source: $HOME/workerReports - target: /workerReports - - type: bind - source: $HOME/bulkImportReports - target: /bulkImportReports + source: $HOME/reports + target: /reports # This will contain the "workerReports" and "bulkImportReports" subdirectories. build: dockerfile: ./Dockerfile context: . diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 44fc8b2..13337cd 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -20,7 +20,7 @@ services: assignmentLimit: 10000 maxAttemptsPerRecord: 3 baseFilesLocation: tmp/ - workerReportsDirPath: /workerReports/ + workerReportsDirPath: /reports/workerReports/ parquetLocalDirectoryPath: ${services.pdfaggregation.controller.baseFilesLocation}parquetFiles/ s3: endpoint: XA @@ -34,7 +34,7 @@ services: bulkImport: baseBulkImportLocation: /mnt/bulk_import/ - bulkImportReportLocation: /bulkImportReports/ + bulkImportReportLocation: /reports/bulkImportReports/ bulkImportSources: # These sources are accepted for bulk-import requests and are excluded from crawling. arxivImport: datasourceID: opendoar____::6f4922f45568161a8cdf4ad2299f6d23