Skip to content

Commit

Permalink
Merge pull request #170 from Synthetixio/add-lt-leaderboard
Browse files Browse the repository at this point in the history
Leveraged Token Leaderboard
  • Loading branch information
Tburm authored Jan 17, 2025
2 parents 2cccdb5 + b3051ff commit 413d783
Show file tree
Hide file tree
Showing 23 changed files with 26,227 additions and 3 deletions.
17 changes: 17 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,23 @@ services:
GQL_PORT: 4350
RPC_ENDPOINT: https://mainnet.base.org

base-mainnet-lt-processor:
image: ghcr.io/synthetixio/data/indexer:${VERSION}-base-mainnet-lt
build:
context: ./indexers/base-mainnet-lt
networks:
- data
depends_on:
- db
restart: always
environment:
DB_HOST: db
DB_PORT: 5432
DB_NAME: base_mainnet_lt
DB_PASS: $PG_PASSWORD
GQL_PORT: 4350
RPC_ENDPOINT: https://mainnet.base.org

base-sepolia-processor:
image: ghcr.io/synthetixio/data/indexer:${VERSION}-base-sepolia
build:
Expand Down
5 changes: 5 additions & 0 deletions indexers/base-mainnet-lt/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/.git
/node_modules
/lib
/*Versions.json
.env
15 changes: 15 additions & 0 deletions indexers/base-mainnet-lt/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM node:16-alpine

WORKDIR /app

COPY package*.json ./

RUN apk add --no-cache python3
RUN apk add --no-cache build-base && npm ci && apk del build-base

COPY . .

RUN npm run generate:processor
RUN npm run build

CMD npm run generate:migration ; npm run start
Loading

0 comments on commit 413d783

Please sign in to comment.