volumes: set hostPath based on volume id

this is required for the file browser to work which does operations
based on the id

fixes #789
This commit is contained in:
Girish Ramakrishnan
2021-06-24 16:59:47 -07:00
parent 097a7d6b60
commit 1ce4875db1
6 changed files with 22 additions and 12 deletions
+2
View File
@@ -21,6 +21,8 @@ exports = module.exports = {
PROVIDER_FILE: '/etc/cloudron/PROVIDER',
SETUP_TOKEN_FILE: '/etc/cloudron/SETUP_TOKEN',
VOLUMES_MOUNT_DIR: '/mnt/volumes',
PLATFORM_DATA_DIR: path.join(baseDir(), 'platformdata'),
APPS_DATA_DIR: path.join(baseDir(), 'appsdata'),
BOX_DATA_DIR: path.join(baseDir(), 'boxdata'), // box data dir is part of box backup