Skip to main content Link Search Menu Expand Document (external link)

Container Installation

New installations of OntoPortal run from containers. The API, the web interface and the scheduled jobs (ncbo_cron) are published as images, and the backing services (triple store, Solr, Redis, MySQL, memcached) run from standard images, so no code is built on the server.

There are two ways to run these containers:

  • Docker Compose, on a single server, with the ontoportal_docker repository. It describes the whole portal in one docker-compose.yml and provides an ontoportal script to start, stop, update and deploy it. An nginx container is the only public entry point: it serves the web interface on port 80 and the API on port 9393.
  • Kubernetes, for deployments that need to scale, with the ontoportal-deployment repository. See Deploying on Kubernetes.

The pages below describe Docker Compose, from a first local instance to a public portal:

  1. Installing with Docker Compose: requirements, first start, default account.
  2. Configuration: the .env file, image versions, reverse proxy, FAIRness scores.
  3. TLS and HTTPS: serving the portal over HTTPS.
  4. Upgrading: moving to newer images.

Once the portal runs, the Managing Content section applies whatever the installation method.


Table of contents