cambridge-cares / TheWorldAvatar

A knowledge-graph-based digital twin of the world.
https://theworldavatar.io/
MIT License
87 stars 25 forks source link

Add a host path variable to the stack config file #1349

Closed gpeb2 closed 2 months ago

gpeb2 commented 2 months ago

When a stack is run behind an external reverse proxy there might be a relative path that needs to be passed to some of the containers so that they can correctly form internal links. This pull request allows the user to specify this path in the relevant stack config file. For example, if the stack's external URL is https://theworldavatar.io/demos/test1 then the hostPath should be /demos/test1. The use of this information should be passed to containers as required through the relevant Service class.