Skip to content

Commit

Permalink
Update docker-compose-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoalencar committed Nov 14, 2024
1 parent f72a8be commit 0e6477e
Showing 1 changed file with 84 additions and 15 deletions.
99 changes: 84 additions & 15 deletions docker-compose-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,29 +182,40 @@ services:
WRAP_UNWRAP_NATIVE_CONTRACT_ADDRESS: '0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83'

event-pipeline-celo:
depends_on:
- postgres
build:
context: .
dockerfile: Dockerfile.dev
restart: always
environment:
ETHEREUM_RPC_URL: '${RPC_URL_CELO}'
EVM_RPC_URL: '${RPC_URL_CELO}'
CHAIN_ID: '42220'
POSTGRES_URI: 'postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres/${POSTGRES_DB}'
POSTGRES_URI: 'postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}'
SCHEMA: 'events_celo'
KAFKA_BROKERS: '${KAFKA_BROKERS}'
KAFKA_SSL: '${KAFKA_SSL}'
KAFKA_AUTH_USER: '${KAFKA_AUTH_USER}'
KAFKA_AUTH_PASSWORD: '${KAFKA_AUTH_PASSWORD}'
ENABLE_PROMETHEUS_METRICS: "true"
EP_DEPLOYMENT_BLOCK: 9350111
MAX_BLOCKS_TO_SEARCH: 5000
MAX_BLOCKS_TO_PULL: 2000
MINUTES_BETWEEN_RUNS: 1
FEAT_NFT: "true"
NFT_FEATURE_START_BLOCK: 11820000
EP_DEPLOYMENT_BLOCK: '28684488'
MAX_BLOCKS_TO_SEARCH: 1000
MAX_BLOCKS_TO_PULL: 100
SECONDS_BETWEEN_RUNS: 1
RESCRAPE_BLOCKS: 10
LOG_LEVEL: 'info'
SCRAPER_MODE: 'BLOCKS'
FEAT_ZEROEX_EXCHANGE_PROXY: 'true'
SETTLER_DEPLOYMENT_BLOCK: '28684488'
MAX_BLOCKS_REORG: '300'
FEAT_TRANSFORMED_ERC20_EVENT: 'true'
FEAT_ERC20_BRIDGE_TRANSFER_FLASHWALLET: 'true'
FLASHWALLET_ADDRESS: '0xdb6f1920a889355780af7570773609bd8cb1f498'
FLASHWALLET_DEPLOYMENT_BLOCK: '9350123'
FEAT_NFT: 'true'
NFT_FEATURE_START_BLOCK: '11820000'
BLOCK_FINALITY_THRESHOLD: '0'
FEAT_TOKENS_FROM_TRANSFERS: 'true'
TOKENS_FROM_TRANSFERS_START_BLOCK: '1'
FEAT_ERC20_TRANSFER_ALL: 'false'
FEAT_SETTLER_ERC721_TRANSFER_EVENT: 'false'
FEAT_SETTLER_RFQ_ORDER_EVENT: 'false'

networks:
- 0x-data-migrations_default
event-pipeline-optimism:
depends_on:
- postgres
Expand Down Expand Up @@ -369,6 +380,64 @@ services:
networks:
- 0x-data-migrations_default

event-pipeline-mode:
build:
context: .
dockerfile: Dockerfile.dev
platform: linux/amd64
restart: always
environment:
SCRAPER_MODE: 'BLOCKS'
EVM_RPC_URL: '${RPC_URL_MODE}'
CHAIN_ID: '34443'
POSTGRES_URI: 'postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}'
SCHEMA: 'events_mode'
FEAT_ZEROEX_EXCHANGE_PROXY: "false"
SETTLER_DEPLOYMENT_BLOCK: 14121097
MAX_BLOCKS_TO_SEARCH: 1000
MAX_BLOCKS_TO_PULL: 100
SECONDS_BETWEEN_RUNS: 1
RESCRAPE_BLOCKS: 10
FEAT_WRAP_UNWRAP_NATIVE_EVENT: "true"
WRAP_UNWRAP_NATIVE_CONTRACT_ADDRESS: '0x4200000000000000000000000000000000000006'
FEAT_TOKENS_FROM_TRANSFERS: "true"
FEAT_ERC20_TRANSFER_ALL: "true"
FEAT_SETTLER_ERC721_TRANSFER_EVENT: "true"
TOKENS_FROM_TRANSFERS_START_BLOCK: "1"
SOCKET_BRIDGE_CONTRACT_ADDRESS: "0x3a23f943181408eac424116af7b7790c94cb97a5"
SOCKET_BRIDGE_EVENT_START_BLOCK: "14121097"
networks:
- 0x-data-migrations_default

event-pipeline-mantle:
build:
context: .
dockerfile: Dockerfile.dev
platform: linux/amd64
restart: always
environment:
SCRAPER_MODE: 'EVENTS'
EVM_RPC_URL: '${RPC_URL_MANTLE}'
CHAIN_ID: '5000'
POSTGRES_URI: 'postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}'
SCHEMA: 'events_mantle'
FEAT_ZEROEX_EXCHANGE_PROXY: "false"
SETTLER_DEPLOYMENT_BLOCK: 67715043
MAX_BLOCKS_TO_SEARCH: 1000
MAX_BLOCKS_TO_PULL: 100
SECONDS_BETWEEN_RUNS: 1
RESCRAPE_BLOCKS: 10
FEAT_WRAP_UNWRAP_NATIVE_EVENT: "true"
WRAP_UNWRAP_NATIVE_CONTRACT_ADDRESS: '0x78c1b0C915c4FAA5FffA6CAbf0219DA63d7f4cb8'
FEAT_TOKENS_FROM_TRANSFERS: "true"
FEAT_ERC20_TRANSFER_ALL: "true"
FEAT_SETTLER_ERC721_TRANSFER_EVENT: "true"
TOKENS_FROM_TRANSFERS_START_BLOCK: "1"
SOCKET_BRIDGE_CONTRACT_ADDRESS: "0x3a23f943181408eac424116af7b7790c94cb97a5"
SOCKET_BRIDGE_EVENT_START_BLOCK: "67715043"
networks:
- 0x-data-migrations_default

token-scraper-ethereum:
depends_on:
- postgres
Expand Down

0 comments on commit 0e6477e

Please sign in to comment.