Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerised communication #180

Open
cfollenf opened this issue Dec 1, 2024 · 0 comments
Open

Dockerised communication #180

cfollenf opened this issue Dec 1, 2024 · 0 comments

Comments

@cfollenf
Copy link

cfollenf commented Dec 1, 2024

Hi all,

When attempting to deploy the latest Prez v4 release in our triply-Dockerised environment (Prez / PrezUI / Fuseki are split amongst 3 distinct containers, each of them having their respective distinct URL) we have noticed URL rewriting issues.

Specifically, the PrezUI docs endpoint is unable to produce its Swagger page that seems to be handled by Uvicorn (hence Prez), because the openapi.json is missing from the PrezUI SPA, and accessible only when hardcoding its URL to the Prez container, within generated .js resources. Similarly, the SPARQL page seems to send its requests to the Prez container when it should should rather direct them towards the Fuseki container.

Is it possible to define, e.g. with additional env variables, absolute URLs instead of the VITE_API_BASE_URL and VITE_BASE_URL pair that seems unable to handle containerisation (is this the "LOCAL_DEV_ENVIRONMENT" comment's meaning?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant