-
Notifications
You must be signed in to change notification settings - Fork 0
4. Environment
piotr-iohk edited this page Dec 11, 2024
·
3 revisions
Before starting the server, ensure the following environment variables are correctly set (or provided as arguments):
-
MINAMESH_PROXY_URL
: The Mina GraphQL endpoint.
Default:https://mainnet.minaprotocol.network/graphql
-
MINAMESH_ARCHIVE_DATABASE_URL
: Connection string for the Archive Node PostgreSQL database.
Example .env
file setup (see also our .env.example):
MINAMESH_PROXY_URL=https://mainnet.minaprotocol.network/graphql
MINAMESH_ARCHIVE_DATABASE_URL=postgresql://user:password@host:port/database
You can override environment variables using flags (See: mina-mesh serve --help
). For example:
mina-mesh serve --archive-database-url postgresql://user:password@host:port/database