kopia lustrzana https://github.com/bugout-dev/moonstream
47 wiersze
2.4 KiB
Bash
47 wiersze
2.4 KiB
Bash
# Bugout environment variables
|
|
export BUGOUT_BROOD_URL="https://auth.bugout.dev"
|
|
export BUGOUT_SPIRE_URL="https://spire.bugout.dev"
|
|
export HUMBUG_REPORTER_CRAWLERS_TOKEN="<Bugout_Humbug_token_for_crash_reports>"
|
|
|
|
|
|
# Entity environment variables
|
|
export MOONSTREAM_ENTITY_URL="https://api.moonstream.to/entity"
|
|
|
|
# Moonstream environment variables
|
|
export MOONSTREAM_BUGOUT_TIMEOUT_SECONDS=30
|
|
export MOONSTREAM_CORS_ALLOWED_ORIGINS="http://localhost:3000,https://moonstream.to,https://www.moonstream.to"
|
|
export MOONSTREAM_DB_URI="postgresql://<username>:<password>@<db_host>:<db_port>/<db_name>"
|
|
export MOONSTREAM_DB_URI_READ_ONLY="postgresql://<username>:<password>@<db_host>:<db_port>/<db_name>"
|
|
export MOONSTREAM_CRAWL_WORKERS=4
|
|
export MOONSTREAM_HUMBUG_TOKEN="<Token_for_crawlers_store_data_via_Humbug>"
|
|
export MOONSTREAM_DATA_JOURNAL_ID="<Bugout_journal_id_for_moonstream>"
|
|
export MOONSTREAM_MOONWORM_TASKS_JOURNAL="<journal_with_tasks_for_moonworm_crawler>"
|
|
export MOONSTREAM_ADMIN_ACCESS_TOKEN="<Bugout_access_token_for_moonstream>"
|
|
export NFT_HUMBUG_TOKEN="<Token_for_nft_crawler>"
|
|
|
|
# Blockchain nodes environment variables
|
|
export MOONSTREAM_ETHEREUM_WEB3_PROVIDER_URI="https://<connection_path_uri_to_ethereum_node>"
|
|
export MOONSTREAM_POLYGON_WEB3_PROVIDER_URI="https://<connection_path_uri_to_polygon_node>"
|
|
export MOONSTREAM_MUMBAI_WEB3_PROVIDER_URI="https://<connection_path_uri_to_mumbai_node>"
|
|
export MOONSTREAM_XDAI_WEB3_PROVIDER_URI="https://<connection_path_uri_to_xdai_node>"
|
|
export MOONSTREAM_WYRM_WEB3_PROVIDER_URI="https://<connection_path_uri_to_wyrm_node>"
|
|
export NB_CONTROLLER_ACCESS_ID="<access_uuid_for_moonstream_nodebalancer>"
|
|
|
|
# AWS environment variables
|
|
export MOONSTREAM_S3_SMARTCONTRACTS_BUCKET="<AWS_S3_bucket_for_smart_contracts>"
|
|
export MOONSTREAM_S3_SMARTCONTRACTS_ABI_PREFIX="<Previx_for_AWS_S3_bucket_(prod,dev,..)>"
|
|
export MOONSTREAM_S3_QUERIES_BUCKET="<AWS_S3_bucket_to_store_sql_queries>"
|
|
export MOONSTREAM_S3_QUERIES_BUCKET_PREFIX="dev"
|
|
export MOONSTREAM_S3_SMARTCONTRACTS_ABI_BUCKET="<AWS_S3_bucket_to_store_dashboards_data>"
|
|
|
|
# 3rd parties environment variables
|
|
export MOONSTREAM_ETHERSCAN_TOKEN="<Token_for_etherscan>"
|
|
export COINMARKETCAP_API_KEY="<API_key_to_parse_conmarketcap>"
|
|
|
|
|
|
# Custom crawler
|
|
export MOONSTREAM_S3_PUBLIC_DATA_BUCKET="<public_bucket>"
|
|
export MOONSTREAM_S3_PUBLIC_DATA_BUCKET_PREFIX="dev"
|
|
export MOONSTREAM_PUBLIC_QUERIES_DATA_ACCESS_TOKEN="<access token for run queries for public dashboards>"
|
|
export INFURA_PROJECT_ID="<infura_project_id>"
|