Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added scroll to docker compose #155

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 25 additions & 35 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,6 @@
version: '3'
services:
postgres:
image: postgres:13.4
environment:
POSTGRES_USER: '${POSTGRES_USER}'
POSTGRES_PASSWORD: '${POSTGRES_PASSWORD}'
POSTGRES_DB: '${POSTGRES_DB}'
POSTGRES_PORT: ${POSTGRES_PORT}
# persist the postgres data to disk so we don't lose it
# on rebuilds.
volumes:
- ./mounts/postgres:/var/lib/postgresql/data
ports:
- '5432:5432'
command: ["postgres", "-c", "log_statement=all", "-c", "log_destination=stderr"]

event-pipeline-ethereum:
depends_on:
- postgres
build:
context: .
dockerfile: Dockerfile
Expand Down Expand Up @@ -85,8 +68,6 @@ services:
FEAT_SETTLER_RFQ_ORDER_EVENT: "true"

event-pipeline-bsc:
depends_on:
- postgres
build:
context: .
dockerfile: Dockerfile
Expand Down Expand Up @@ -123,8 +104,6 @@ services:
FEAT_SETTLER_ERC721_TRANSFER_EVENT: "true"

event-pipeline-polygon:
depends_on:
- postgres
build:
context: .
dockerfile: Dockerfile
Expand Down Expand Up @@ -159,8 +138,6 @@ services:
FEAT_SETTLER_ERC721_TRANSFER_EVENT: "true"

event-pipeline-avalanche:
depends_on:
- postgres
build:
context: .
dockerfile: Dockerfile
Expand Down Expand Up @@ -196,8 +173,6 @@ services:


event-pipeline-fantom:
depends_on:
- postgres
build:
context: .
dockerfile: Dockerfile
Expand Down Expand Up @@ -228,8 +203,6 @@ services:
WRAP_UNWRAP_NATIVE_CONTRACT_ADDRESS: '0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83'

event-pipeline-celo:
depends_on:
- postgres
build:
context: .
dockerfile: Dockerfile
Expand All @@ -254,8 +227,6 @@ services:
NFT_FEATURE_START_BLOCK: 11820000

event-pipeline-optimism:
depends_on:
- postgres
build:
context: .
dockerfile: Dockerfile
Expand Down Expand Up @@ -289,8 +260,6 @@ services:
FEAT_SETTLER_ERC721_TRANSFER_EVENT: "true"

event-pipeline-arbitrum:
depends_on:
- postgres
build:
context: .
dockerfile: Dockerfile
Expand Down Expand Up @@ -320,8 +289,6 @@ services:
FEAT_SETTLER_ERC721_TRANSFER_EVENT: "true"

event-pipeline-base:
depends_on:
- postgres
build:
context: .
dockerfile: Dockerfile
Expand Down Expand Up @@ -351,9 +318,32 @@ services:
FEAT_SETTLER_ERC721_TRANSFER_EVENT: "true"
FEAT_SETTLER_RFQ_ORDER_EVENT: "true"

event-pipeline-scroll:
build:
context: .
dockerfile: Dockerfile
restart: always
environment:
SCRAPER_MODE: 'BLOCKS'
EVM_RPC_URL: '${RPC_URL_SCROLL}'
CHAIN_ID: '534352'
POSTGRES_URI: 'postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres/${POSTGRES_DB}'
SCHEMA: 'events_scroll'
FEAT_ZEROEX_EXCHANGE_PROXY: "false"
SETTLER_DEPLOYMENT_BLOCK: 7474150
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: '0x5300000000000000000000000000000000000004'
FEAT_TOKENS_FROM_TRANSFERS: "true"
FEAT_ERC20_TRANSFER_ALL: "true"
FEAT_SETTLER_ERC721_TRANSFER_EVENT: "true"
FEAT_SETTLER_RFQ_ORDER_EVENT: "true"


token-scraper-ethereum:
depends_on:
- postgres
build:
context: .
dockerfile: Dockerfile
Expand Down
Loading