Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel2
outlinefalse
styledisc
typelist
printabletrue

...

  • Docker -
    Status
    colourRed
    titlerequired

    New server using dockerized images that allows Apliqo UX to be deployed across any platform, simplifying deployment and network management.

    Follow the installation instructions for your system:
    Windows | Linux | Mac

...

  • Once the containers are running, navigate to the following URL in your browser: http://your-ip-address
    By default, the interface will be accessible from port 80.

...

Environment Variables

Info

The example file contains all the required variables. Please do not remove them, only update if necessary.

Variable

Description

Default Value

Required

Notes

JWT_SECRET

A secret string for encrypting access tokens. Ensure it is unique and secure.

None

Yes

There is no default value, set the arbitrary string or generate some random string.

SERVICE_USER_PASSWORD

Password for default system user which could be used on first install. After the backend service first starts, you will be able to login into the app via:

username: service-admin
password: SERVICE_USER_PASSWORD

None

Yes

Password for service user stores as a hashed string by bcryptjs. After user creation in Mongodb, you may remove this password from .env.

DB_HOST

MongoDB server's domain name or IP address.

apliqo-mongo

Yes

Inside the docker network, container names could be used as domain names to access the resource. If you are not using Docker for the MongoDB database, set the IP address or domain name as the value for this variable.

DB_USER

Username of a root user from which account would be created a connection to the MongoDB.

None

Yes

DB_PASSWORD

Password of a root user from which account would be created a connection to the MongoDB.

None

Yes

If you are using the default Apliqo UX setup. On first install DB_USER and DB_PASSWORD would be used to create a MongoDB user to access the database. This user would be stored in the admin database by default.

DB_CONNECTION_SCHEME

Description: MongoDB uses a connection variant.
There are 2 options:

mongodb - Standard Connection String Format. The standard format of the MongoDB connection URI is used to connect to a MongoDB deployment: standalone, replica set, or a sharded cluster.

mongodb+srv - DNS Seed List Connection Format. The +srv indicates to the client that the hostname that follows corresponds to a DNS SRV record.

mongodb

Yes

If you don't have your dedicated MongoDB server - use the default value.

REDIS_HOST

Hostname for the Redis database, used for caching and queues.

apliqo-redis

Yes

Inside the docker network, container names could be used as domain names to access the resource. If you are not using Docker for the Redis database, set an IP address or domain name as the value for this variable.

MONGO_DB_PORT_EXPOSE

Port on the machine where docker is running to access the MongoDB.
Set this variable to have the ability to access MongoDB from outside the docker network and to manage the DB by GUI tools (Mongo Compass, Studio 3T)

None

No

DB_NAME

Apliqo Content Store database name in MongoDB server.

apliqo-content-store

No

DB_PORT

MongoDB server's port.

27017

No

DB_AUTHSOURCE

Database inside MongoDB server which stores users and their permission in MongoDB.

admin

No

PORT

Port on which the backend server runs inside the Docker container.

4000

No

PORT_EXPOSE

Port on which the backend server is accessible from machine IP. Docker bridges PORT and PORT_EXPOSE.

4000

No

TM1_VERIFY_SSL

Variable to control the SSL verification for all TM1 API requests. Available values: 0 or 1
Set 1 if you want to enable the TM1 API SSL verification.
Set 0 if you want to disable the TM1 API SSL verification. (Could be used for TM1 with self-signed certificate)

0

No

Anchor
APLIQO_HOSTNAME
APLIQO_HOSTNAME

APLIQO_HOSTNAME

Variable which is used to create a redirect link for CAMPassport authentication.

Please make sure that the link doesn’t have slash ('/') and the end
https://apliqo-frontend-domain.com/ - Not Valid

Status
colourRed
titlenot valid

https://apliqo-frontend-domain.com - Valid
Status
colourGreen
titlevalid

None

No

...

Authentication

You may want to enable multiple authentication Apliqo supports flexible authentication configurations, allowing multiple options to work together. Below, we break down how to enable and configure various authentication methods step by step.Apliqo allows authentication only when

Info

Refer to the Synchronization article for a detailed setup demonstration.

» Authentication Overview

  1. Authentication Sources:
    Apliqo authenticates users through designated TM1 instances. Authentication is successful if at least one

...

  1. configured TM1 instance validates the credentials.

...

  1. Multiple Authentication Instances:
    You can configure multiple TM1 instances with

...

  1. different authentication methods. For example

...

  1. :

    • A specific instance

...

    • may handle authentication for Apliqo

...

    • .

    • Other instances may function purely as data models

...

    • .

  1. Limitations:

    • If a report relies on a TM1 instance

...

    • not

...

    • set up as an authentication source, you

...

    • won’t have an active

...

    • session for that instance after logging in.

    • In such cases, the

...

    • ‘Login to

...

    • Instance’ dialog will appear,

...

    • letting you

...

    • log in

...

    • manually. Both sessions will remain cached

...

    • ,

...

CAMPassport

To enable CAMPassport authentication you need:

  1. Add instance
    • even if you close the browser tab.

...

» Enabling CAMPassport Authentication

To set up CAMPassport Authentication, follow these steps:

  1. Add an Instance with CAMPassport authentication enabled.

  2. Turn on the auth source Authentication Source switch button for this instance.

  3. Open instance “Edit Dialog”the instance’s Edit Dialog.

  4. Go to the CAMPassport tab on a the right side.

  5. Check the link to your CAM Server Link:

    • By default, Apliqo retrieves this link

    Apliqo take
    • from the WWW-Authenticate header. Adjust as necessary.

  6. Configure the Environment:

    • Add APLQIO_HOSTNAME

    into
    • to the .env file

    follow
    • as specified in the guide

    After editting .env use
    docker compose up -d
    • .

    • Apply the changes by running the following command:

Code Block
docker compose up -d --force-recreate apliqo-api

...

  1. Go to login page and “Login via SSO“ but should appear the Login Page and verify that the Login via SSO button appears.

...

» CAMNamespace

To enable CAMNamespace authentication you needset up CAMNamespace Authentication, follow these steps:

  1. Add instance an Instance with CAMNamespace authentication enabled.

  2. Open instance “Edit Dialog”the instance’s Edit Dialog.

  3. Go to the CAMNamespace tab on a the right side.

  4. Add your supported namespaces into text field “Client CAMNamespaces“
    Use coma separation to the Client CAMNamespaces field:

    • Use comma-separated values for multiple namespaces.

  5. Turn on the auth source Authentication Source switch button for this instance.

  6. Go to login page, namespaces select dropdown should appear

...

  1. the Login Page and verify that the namespace selection dropdown appears.

Info

Combining CAMNamespace and Basic Authentication:

  • leave the Namespace Select Dropdown empty. Basic authentication will then be used by default

)
  • .

...

Troubleshooting

» MacOS with M1 chip peculiarities

...

Code Block
platform: linux/amd64

...