Running Standalone in Docker
If you wish to run Token Indexer locally as a standalone product, the easiest way is to run it using Docker. Images are periodically published to the GitLab registry:
Image Name | Meaning |
---|---|
| Latest stable release (recommended) |
| Latest build from master |
Prerequisites
Docker version 20 or higher
PostgreSQL version 13 or higher (which you can run standalone or also in Docker)
To run Token Indexer locally, you can use a Docker command like:
The individual environment variables that can be passed to the container are explained below.
Environment Variables
Variable Name | Meaning | Default |
---|---|---|
| Tezos node RPC |
|
| Custom IPFS gateway | None (uses public gateways) |
| PostgreSQL hostname |
|
| PostgreSQL port |
|
| PostgreSQL username |
|
| PostgreSQL password |
|
| PostgreSQL database name |
|
| PostgreSQL schema name |
|
| Maximum concurrent jobs fetching token metadata |
|
| Completely skips fetching contract and token metadata if set to |
|
| Level of the first block to be indexed (assumes that previous blocks don't contain any relevant token data) |
|
Last updated