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:

Prerequisites

To run Token Indexer locally, you can use a Docker command like:

docker run -it --network=host \
  -e DB_HOST=localhost \
  -e DB_PORT=5432 \
  -e DB_USERNAME=yourusername \
  -e DB_PASSWORD=yourpassword \
  -e DB_DATABASE=postgres \
  -e DB_SCHEMA=token_indexer \
  registry.gitlab.com/tezos-dappetizer/token-indexer-app:latest

The individual environment variables that can be passed to the container are explained below.

Environment Variables

Last updated