# On-Premise server requirements
There are two ways to deploy GRAVITY on-premises, either on a Java Runtime or as a Docker container.
# Java Runtime
GRAVITY needs a database and a Java Runtime to work.
| Application Server | Database |
| --------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Minimum 1024MB RAM<br><br>Platform independent with Java 21 runtime installed<br> | The following versions of them are supported by SLA, but other version might work as well:<br><br>- Oracle Database: 12c, 18c <br>- MySQL: 5.7 <br>- MariaDB: 10.*<br>- PostgreSQL 16.4 |
| Open port 443 and 80<br><br>Reachable from clients which will use GRAVITY | |
| Has fontconfig and any font installed (_apk --update add fontconfig ttf-dejavu_) | |
# Docker
Check the Docker wiki page ([gravity.docker.run](https://gravity-global.atlassian.net/wiki/spaces/GPUB/pages/1527709697 "https://gravity-global.atlassian.net/wiki/spaces/GPUB/pages/1527709697")) for guidance on Docker setup and requirements.
# Configuration requirements
To prepare for configuration (either by Gravity Global AG or yourself), look up the following items and document them properly for Gravity Global AG and yourself!
For better understanding, we are using a fictional company called gravify.io.
| Item no note | Example for _gravify.io_ |
| ---- | ---- |
| A list of URLs on which GRAVITY shall be enabled <br>If you wish to enable it for domains (mycompany.org) make sure to either state it explicitly or name exclusions<br><br><br> | portal.gravify.io<br><br>gravify.io/sites<br><br>gravify-io.sharepoint.com/layouts<br><br>_Exclude:_ gravify.io/sites/management |
| An URL where the users will need to go to start GRAVITY (first time) | portal.gravify.io/home |
| An SMTP user and password, it will be used to send notification mails from the backend server |
[email protected]<br> |
| An e-mail address user can turn to when they have issues |
[email protected] |