Skip to content

Commit

Permalink
Merge pull request #172 from Synthetixio/feat/indexer-code-reorg
Browse files Browse the repository at this point in the history
Indexer - Code Reorganisation
  • Loading branch information
Tburm authored Jan 23, 2025
2 parents 38ba15c + 2232e8d commit db8b8e4
Show file tree
Hide file tree
Showing 12 changed files with 754 additions and 571 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ services:
PROTOCOL_NAME: synthetix
volumes:
- ./parquet-data:/parquet-data
- ./indexers/logs/indexer:/app/logs

indexer-listener:
build:
Expand All @@ -68,6 +69,7 @@ services:
PYTHONUNBUFFERED: 1
volumes:
- ./parquet-data:/parquet-data
- ./indexers/logs/listener:/app/logs

transformer:
image: ghcr.io/synthetixio/data/transformer:${VERSION}
Expand Down
2 changes: 1 addition & 1 deletion indexers/Dockerfile.listener
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ RUN uv sync --frozen --only-dev

COPY . .

CMD ["uv", "run", "python", "listener.py"]
CMD ["uv", "run", "-m", "scripts.listener"]
Loading

0 comments on commit db8b8e4

Please sign in to comment.