-
Notifications
You must be signed in to change notification settings - Fork 5
Deploying RDFShape Client (Docker)
Eduardo Ulibarri Toledo edited this page Jun 24, 2022
·
5 revisions
- Use the provided Dockerfile to build RDFShape Client or pull from Github Container Registry.
- No build arguments are required. The client will be exposed on container 80 of spawned containers.
- When running a container, you may provide the following environment variables
via
--env
:-
RDFSHAPE_HOST [optional]: Location where this client will look for RDFShape's API. Defaults to our current deployment at
https://api.rdfshape.weso.es
. -
RDFSHAPE_WS_HOST [optional]: Location where this client will look for RDFShape's WebSockets server, used in streaming validations. Defaults to our current deployment at
wss://api.rdfshape.weso.es
.
-
RDFSHAPE_HOST [optional]: Location where this client will look for RDFShape's API. Defaults to our current deployment at
Notice the file env.sh
in the project's root folder. It is a manual fix that is executed on container environments to pretend to have environment variables in client-side code. It picks all environment variables in the container, strips the string REACT_APP_
from their name if necessary and replaces them in the client's code, as long as those variables are defined in EnvironmentConfig.js.
- :stable: Stable build updated manually.
- <:hashed_tags>: Automated builds by our CI pipeline. With the latest features uploaded to our repository but lacking internal testing.
WESO Research Group - Try RDFShape Client