You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've seen the paths to the work directories like /tmp or /vods are hardcoded. I would love for them to be changed with environment variables. In my case, I have a huge performance hit when the download of a big VOD is done and need to be moved, because it's moving files between two volumes, it copies the file when moving instead of just a move operation.
I would like to put both the temp working directory and the vods directory in a same parent directory that I would then mount, instead of mounting the /tmp and /vods separately. (I mounted the /tmp because I'm using Docker with WSL, and it was increasing the WSL virtual drive by a huge amount.)
In my case, I would like to do something like this:
GANYMEDE_TEMP_DIR=/data/.tmp
GANYMEDE_VODS_DIR=/data/vods
and then mount the /data path.
The text was updated successfully, but these errors were encountered:
I can't find a particular official source on why things are this way, but root level mounts like /vods and /tmp are problematic due to how docker handles volumes. Ideally you would mount a single directory such as /data which would have both /data/vods and /data/tmp. This would allow instant moves as they won't be considered cross-filesystem.
The default path setup suggested by some docker developers that encourages people to use mounts like /movies, /tv, /books or /downloads is very suboptimal and it makes them look like two or three file systems, even if they aren’t (Because of how Docker’s volumes work). It is the easiest way to get started. While easy to use, it has a major drawback. Mainly losing the ability to hardlink or instant move, resulting in a slower and more I/O intensive copy + delete is used.
I've seen the paths to the work directories like
/tmp
or/vods
are hardcoded. I would love for them to be changed with environment variables. In my case, I have a huge performance hit when the download of a big VOD is done and need to be moved, because it's moving files between two volumes, it copies the file when moving instead of just a move operation.I would like to put both the temp working directory and the vods directory in a same parent directory that I would then mount, instead of mounting the
/tmp
and/vods
separately. (I mounted the/tmp
because I'm using Docker with WSL, and it was increasing the WSL virtual drive by a huge amount.)In my case, I would like to do something like this:
GANYMEDE_TEMP_DIR=/data/.tmp
GANYMEDE_VODS_DIR=/data/vods
and then mount the
/data
path.The text was updated successfully, but these errors were encountered: