Skip to content

Deploying RDFShape API (Docker)

Eduardo Ulibarri Toledo edited this page Jan 18, 2022 · 8 revisions

Running with Docker

Requirements

  • Docker must be installed in the machine that will build the images and/or run the containers.

Building the image

  • Pull from our container registry or...
  • Use the provided Dockerfile to build RDFShape API images:
    1. Run docker build -t {YOUR_IMAGE_NAME} . from the project folder.

    No build arguments are required.

Running containers

  • When running a container, you may provide the following environment variables via --env:
    • PORT [optional]:
      • Port where the API is exposed inside the container. Default is 8080.
    • USE_HTTPS [optional]:
      • Any non-empty value to try to serve via HTTPS, leave undefined for HTTP.

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.

Serving with HTTPS

Follow the indications above.