Skip to content

Deploying RDFShape Client (Docker)

Eduardo Ulibarri Toledo edited this page Jun 24, 2022 · 5 revisions

Deploy with Docker

Building the image

  • No build arguments are required. The client will be exposed on container 80 of spawned containers.

Running 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.

Environment variables

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.

Supported tags

  • :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.