Skip to main content

Install and configure an Operator

Prerequisites

Before proceeding, ensure you have the following installed:

Installation

Clone the repository and navigate to the directory where the docker-compose.yml file is located.

git clone https://github.com/Carmentis/carmentis-operator-docker.git
cd carmentis-operator-docker

Or if you prefer to download the repository as a zip file, you can do so by clicking here.

Configuration

Create a .env file in the same directory as the docker-compose.yml file if you want to change the default settings. This file is used to set environment variables for the application.

VariableDescriptionDefault Value
CARMENTIS_OPERATOR_DATA_URLThe URL of the Carmentis Explorer.https://testnet.carmentiscan.io
CARMENTIS_OPERATOR_NODE_URLThe URL of the Carmentis node.https://testnode.carmentis.io
CARMENTIS_OPERATOR_NODE_URLThe URL of the Carmentis node.https://testnode.carmentis.io
CARMENTIS_OPERATOR_DB_USERThe username of the internal database administrator.postgres
CARMENTIS_OPERATOR_DB_PASSWORDThe password of the internal database administrator.**********
CARMENTIS_OPERATOR_DB_HOSTThe hostname of the internal database.db
CARMENTIS_OPERATOR_DB_PORTThe port of the internal database.5432
CARMENTIS_OPERATOR_DB_DATABASEThe name of the internal database.carmentis_operator

Additional Notes

  • The .data/db directory is used to store the application's database files. This directory is created automatically when the application is started.
  • The .data/storage directory is used to store the application's storage files, and in particular the signing private key that you should take care to backup. This directory is created automatically when the application is started.
  • You can test your own operator with our swagger available on http://www.dev.carmentis.io:8080/