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_dockerrepository. It describes the whole portal in onedocker-compose.ymland provides anontoportalscript 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-deploymentrepository. See Deploying on Kubernetes.
The pages below describe Docker Compose, from a first local instance to a public portal:
- Installing with Docker Compose: requirements, first start, default account.
- Configuration: the
.envfile, image versions, reverse proxy, FAIRness scores. - TLS and HTTPS: serving the portal over HTTPS.
- Upgrading: moving to newer images.
Once the portal runs, the Managing Content section applies whatever the installation method.
Table of contents
- Installing with Docker Compose - Requirements, first start and default account
- Configuration - The .env file, image versions, reverse proxy and FAIRness scores
- TLS and HTTPS - Serving the portal over HTTPS
- Upgrading - Moving to newer OntoPortal images
- Deploying on Kubernetes - Running the OntoPortal containers on Kubernetes