-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
compose commandRelated to the compose commandRelated to the compose commandenhancementNew feature or requestNew feature or requestvolumes
Description
Description
Mounting files as volumes works in Docker Compose, but this feature is not supported on kthcloud. To address this, we need to implement a workaround that checks if the volume's host path is a file and then creates a wrapping directory that contains only that file.
Proposed Solution
- Check if the volume's host path is a file.
- Create a wrapping directory that includes only the file.
- Upload the wrapping directory to the storage server under the project's directory.
- Ensure that the file is named on the deployment side based on the mount configuration (e.g.,
thisfilename.txt:otherfilename.otherextmakes the file accessible asotherfilename.otherext).
Metadata
Metadata
Assignees
Labels
compose commandRelated to the compose commandRelated to the compose commandenhancementNew feature or requestNew feature or requestvolumes