COMPOSE_PROJECT_NAME=joystream
PROJECT_NAME=query_node

# We will use a single postgres service with multiple databases
# The env variables below are by default used by all services and should be 
# overriden in local env files
# DB config
INDEXER_DB_NAME=query_node_indexer
DB_NAME=query_node_processor
DB_USER=postgres
DB_PASS=postgres
DB_HOST=localhost
DB_PORT=5432
DEBUG=index-builder:*
TYPEORM_LOGGING=error

DEBUG=index-builder:*
TYPEORM_LOGGING=error

###########################
#    Indexer options      #
###########################

# Substrate endpoint to source events from
WS_PROVIDER_ENDPOINT_URI=ws://localhost:9944/

# Block height to start indexing from.
# Note, that if there are already some indexed events, this setting is ignored
BLOCK_HEIGHT=0

# Redis cache server
REDIS_URI=redis://localhost:6379/0

###########################
#    Processor options    #
###########################

# Where the mapping scripts are located
TYPES_JSON=./types/augment/all/defs.json

# Indexer GraphQL API endpoint to fetch indexed events
INDEXER_ENDPOINT_URL=http://localhost:4000/graphql

# Block height from which the processor starts. Note that if
# there are already processed events in the database, this setting is ignored
BLOCK_HEIGHT=0

###############################
#    Processor GraphQL API    #
###############################

GRAPHQL_SERVER_PORT=4002
GRAPHQL_SERVER_HOST=localhost
WARTHOG_APP_PORT=4002
WARTHOG_APP_HOST=localhost
