Below are the configurations for LGDXRobot Cloud. Update the corresponding appsettings.json.
For managing secrets securely, please refer to the Official Documentation on how to create and handle secrets in your environment.
Example configurations are provided in the /docker-compose folder.
1. LGDXRobotCloud.API
1.1 Settings
When setting endpoints, the port number for gRPC must be the lowest, and HTTPS must be the highest.
LGDXRobotCloud Subkeys
| Key |
Description |
| InternalCertificateThumbprint |
The thumbprint of the internal UI certificate |
| RootCertificateSN |
The serial number of the root certificate |
| RobotCertificateValidDay |
The number of days that a robot certificate is valid |
| ApiMaxPageSize |
The maximum number of items that can be returned in a page |
To find InternalCertificateThumbprint, run the following command:
openssl x509 -in ui.crt -noout -fingerprint -sha1 | sed 's/://g'
To find RootCertificateSN, run the following command:
openssl x509 -in rootCA.crt -noout -serial
1.2 Secrets
ConnectionStrings Subkeys
| Key |
Description |
| Default |
The connection strings to default PostgreSQL database |
| Activity |
The connection strings to activity logs PostgreSQL database |
LGDXRobotCloudSecret Subkeys
| Key |
Description |
| LgdxUserJwtIssuer |
The issuer of the JWT token for the users |
| LgdxUserJwtSecret |
The secret of the JWT token for the users (min 32 chars) |
| RobotClientsJwtIssuer |
The issuer of the JWT token for the robot clients |
| RobotClientsJwtSecret |
The secret of the JWT token for the robot clients (min 32 chars) |
RabbitMq Subkeys
| Key |
Description |
| Host |
The host name or IP address of the RabbitMQ server |
| VirtualHost |
The virtual host of the RabbitMQ server |
| Username |
The username for the RabbitMQ server |
| Password |
The password for the RabbitMQ server |
| Port |
The port number of the RabbitMQ server |
Redis Subkeys
| Key |
Description |
| ConnectionString |
The host name or IP address of the Redis server (With port number) |
| CertificateSN |
The serial number of the Redis certificate |
To find CertificateSN, run the following command:
openssl x509 -in redis_client.crt -noout -serial
2. LGDXRobotCloud.Data
2.1 Secrets
ConnectionStrings Subkeys
| Key |
Description |
| Default |
The connection strings to default PostgreSQL database |
| Activity |
The connection strings to activity logs PostgreSQL database |
3. LGDXRobotCloud.UI
3.1 Settings
LGDXRobotCloudAPI Subkeys
| Key |
Description |
| Url |
The URL of the LGDXRobotCloud API |
| CertificateSN |
The serial number of the API certificate |
To find CertificateSN, run the following command:
openssl x509 -in ui.crt -noout -serial
Redis Subkeys
| Key |
Description |
| ConnectionString |
The host name or IP address of the Redis server (With port number) |
| CertificateSN |
The serial number of the Redis certificate |
To find CertificateSN, run the following command:
openssl x509 -in redis_client.crt -noout -serial
3.2 Secrets
RabbitMq Subkeys
| Key |
Description |
| Host |
The host name or IP address of the RabbitMQ server |
| VirtualHost |
The virtual host of the RabbitMQ server |
| Username |
The username for the RabbitMQ server |
| Password |
The password for the RabbitMQ server |
4. LGDXRobotCloud.Worker
4.1 Settings
EmailLinks Configuration
| Key |
Description |
| AccessUrl |
The URL of the LGDXRobotCloud UI |
| PasswordResetPath |
The path to the password reset page in the LGDXRobotCloud UI |
4.2 Secrets
ConnectionStrings Subkeys
| Key |
Description |
| Default |
The connection strings to default PostgreSQL database |
| Activity |
The connection strings to activity logs PostgreSQL database |
RabbitMq Subkeys
| Key |
Description |
| Host |
The host name or IP address of the RabbitMQ server |
| VirtualHost |
The virtual host of the RabbitMQ server |
| Username |
The username for the RabbitMQ server |
| Password |
The password for the RabbitMQ server |
Email Subkeys
| Key |
Description |
| FromName |
The name of the sender |
| FromAddress |
The email address of the sender |
| Host |
The host name or IP address of the SMTP server |
| Port |
The port number of the SMTP server |
| Username |
The username for the SMTP server |
| Password |
The password for the SMTP server |
| SecureSocketOptions |
Secure connect setting for the SMTP server |