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
server.yaml specifies that the server container sees the repository at a hardcoded path (/home/data/repository) which is mounted on the host file system at the location provided by the $REPOSITORY_PATH env variable.
However, it seems that the server uses the value of process.env.REPOSITORY_PATH as its internal path and never uses /home/data/repository. So the only way for the server to work is when the value of $REPOSITORY_PATH matches (either relatively or absolutely) /home/data/repository, which is confusing.
Just a small correction. The only way for server to work (with a container) is to have a REPOSITORY_PATH that is two levels above of the environments/in the host machine which in turn will resolve to the same relative path in the container...
TLDR; REPOSITORY_PATH needs to be set to ../../data/repository and in the host machine the repo needs to be there.
server.yaml specifies that the server container sees the repository at a hardcoded path (
/home/data/repository
) which is mounted on the host file system at the location provided by the$REPOSITORY_PATH
env variable.However, it seems that the server uses the value of
process.env.REPOSITORY_PATH
as its internal path and never uses/home/data/repository
. So the only way for the server to work is when the value of$REPOSITORY_PATH
matches (either relatively or absolutely)/home/data/repository
, which is confusing.View in Huly HI-449
The text was updated successfully, but these errors were encountered: