⚙️Configurations

1. License Key

To start the installation first, you should get the License Key. Please find a way to do that in Quick Start Seciton

2. Configure Docker

When you already have your own license key, you are able to donwload and install the Docker Image. To do that please follow the instructions below.

Env variables

To make sure that your prst.ai installation will be configured correctly and follows Security Best Practices please provide ALL mandatory variables that presented in the table below.

Name
Is Required
Default
Description

PORT

No

80

The port on which the Prst.ai application will listen

DB_CONNECTION_STRING

Yes

The connection string for the database

DB_CONFIG_SYNC

No

true

Synchronize database schema on every application launch

DB_CONFIG_DEBUG

No

false

Enable or disable database debugging

ROOT_EMAIL

Yes

N/A

The email address for the root administrator

ROOT_ONE_TIME_PASSWORD

Yes

N/A

The one-time password for the root administrator

ORGANIZATION_NAME

No

PRST

The name of the organization

ENCRYPTION_SECRET

Yes

N/A

The encryption secret for securing sensitive information

DISABLE_SUPPORT

No

false

Enable or disable support operations

Run Docker Image

# Run prst.ai docker image
docker run -d
  -p 8080:80
  -e ROOT_EMAIL=admin@prst.ai
  -e ROOT_ONE_TIME_PASSWORD=YOUR_PASSWORD
  -e ORGANIZATION_NAME=PRST
  -e ENCRYPTION_SECRET=YOUR_SECRET
  -e DISABLE_SUPPORT=false
your_prst_ai_image:tag

Use Docker Compose

💡 Note: Please refer to your regulation to make sure the way YOU USE prst.ai is align with it.

version: '3.8'

services:
  prst_ai:
    image: your_prst_ai_image:tag
    ports:
      - "3005:3005"
    environment:
      - ROOT_EMAIL=admin@prst.ai
      - ROOT_ONE_TIME_PASSWORD=YOUR_PASSWORD
      - ORGANIZATION_NAME=PRST
      - ENCRYPTION_SECRET=YOUR_SECRET
    healthcheck:
      test: ["CMD-SHELL", "curl --fail http://localhost:3005/api/v1/health || exit 1"]
      interval: 30s
      timeout: 10s
      retries: 3

First Sign In

After build and installation the Prst.ai system will ask you to change the default password to the new one. Please provide secure and strong password to keep your data safe.

3. Then Test prst.ai

Simply navigate to your new endpoint to ensure that prst.ai is successfully launched or use Heath Check API connected to your load balancer or any other health measurement system.

Last updated