anchor.diff:  == Installation
   
   There are several ways to install Ontrack.
  +
  +[[installation-prerequisites]]
  +=== Prerequisites
  +
  +Ontrack has been tested on different Linux variants (Ubuntu, Debian, CentOS)
  +and should also work on Windows.
  +
  +Ontrack relies on at least a JDK 8 build 25. More recent versions of the JDK8
  +are OK. However, no test has been done yet using early JDK 9 versions.
  +
  +Ontrack runs fine with 512 Mb of memory. However, think of upgrading to 2 Gb of
  +memory if you intend to host a lot of projects. See the different installation
  +modes (Docker, RPM, etc.) to know how to setup the memory settings.
  +
  +Ontrack stores its data in a local H2 database. This one can grow up to 500 Mb
  +for big volumes (hundreds of projects).
   
   [[installation-docker]]
   === Installing using Docker
  
positive.code: | Directory | Description
  
  | `/opt/ontrack` | Binaries and scripts
  | `/usr/lib/ontrack` | Working directory
  | `/var/log/ontrack` | Logging directory
  |===
  
  
negative.code:    nemerosa/ontrack
  ----
  
  The <<configuration,configuration files>> for Ontrack can be put on the host in
  `/var/ontrack/conf` and the database and working files will be available
  in `/var/ontrack/data`. The application will be available on port `8080` of
  the host.
  
  Java options, like memory settings, can be passed to the Docker container using
  the `JAVA_OPTIONS` environment variable:
  
  [source,bash]
  ----
  docker run \
     ...
     --env "JAVA_OPTIONS=-Xmx2048m" \
     ...
  ----
  
  [[installation-docker-compose]]
  ==== Using compose to deploy Ontrack using HTTPS and Grafana/InfluxDB for metrics
  