Updated mount paths
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Joan Sanchez 2020-07-13 12:23:47 +02:00
parent 159b5f3bb8
commit ccc5b95b48
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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:

View File

@ -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