diff --git a/back/models/image.js b/back/models/image.js index 5b4a20236..fb1a887e8 100644 --- a/back/models/image.js +++ b/back/models/image.js @@ -29,7 +29,7 @@ module.exports = Self => { const fileName = file.split('.')[0]; // const rootPath = 'C:\\Users\\jsanc\\Desktop\\images'; - const rootPath = '/var/lib/salix/images'; + const rootPath = '/var/lib/salix/image'; const data = { name: fileName, collectionFk: collectionName diff --git a/docker-compose.yml b/docker-compose.yml index 413d6f48f..c04f7e388 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -28,7 +28,7 @@ services: volumes: - /mnt/storage/pdfs:/var/lib/salix/pdfs - /mnt/storage/dms:/var/lib/salix/dms - - /mnt/storage/images:/var/lib/salix/images + - /mnt/storage/image:/var/lib/salix/image deploy: replicas: 6 configs: diff --git a/modules/item/back/methods/item-image-queue/download.js b/modules/item/back/methods/item-image-queue/download.js index d36604938..c642a53b4 100644 --- a/modules/item/back/methods/item-image-queue/download.js +++ b/modules/item/back/methods/item-image-queue/download.js @@ -25,7 +25,7 @@ module.exports = Self => { }); // const rootPath = 'C:\\Users\\jsanc\\Desktop\\images'; - const rootPath = '/var/lib/salix/images'; + const rootPath = '/var/lib/salix/image'; const tempPath = path.join(rootPath, 'temp'); // Create temporary path