Skip to main content
Version: 6.12.0

Create application.properties

This section has dependencies on actions that are performed after it, especially on databases installation and settings.

The file application.properties should be used to store any key-value pairs of configuration parameters in the Portal setting process.

tip

The Portal is a Spring Boot application, so any property in application.properties can also be provided as an environment variable. Spring Boot converts property names by replacing dots (.) with underscores (_) and converting to uppercase (e.g. server.port becomes SERVER_PORT). Environment variable values take precedence over values in application.properties. See Secure Elasticsearch and database credentials for details and examples.

  1. Create the portal user - this user will own the console process and related files.

    sudo useradd --system --create-home portal
  2. Create /opt/waratek

    This is where we will place operational files.

    sudo mkdir /opt/waratek
  3. Set the permission and change ownership for application.properties as follows:

    sudo chown portal:portal application.properties
    sudo chmod 600 application.properties