Skip to content

Commit

Permalink
Merge pull request #108 from Synthetixio/snax-mainnet
Browse files Browse the repository at this point in the history
Snaxchain Mainnet
  • Loading branch information
Tburm authored Sep 3, 2024
2 parents da7465c + 9b6422d commit 342d582
Show file tree
Hide file tree
Showing 26 changed files with 25,722 additions and 1,134 deletions.
17 changes: 17 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,23 @@ services:
RPC_ENDPOINT: https://testnet.snaxchain.io/
API_KEY: $CONDUIT_API_KEY

snax-mainnet-processor:
build:
context: ./indexers/snax-mainnet
networks:
- data
depends_on:
- db
restart: always
environment:
DB_HOST: db
DB_PORT: 5432
DB_NAME: snax_mainnet
DB_PASS: $PG_PASSWORD
GQL_PORT: 4350
RPC_ENDPOINT: https://mainnet.snaxchain.io/
API_KEY: $CONDUIT_API_KEY

transformer:
build:
context: ./transformers
Expand Down
4 changes: 4 additions & 0 deletions indexers/snax-mainnet/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/.git
/node_modules
/*Versions.json
.env
14 changes: 14 additions & 0 deletions indexers/snax-mainnet/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM node:16

WORKDIR /app

COPY package*.json ./

RUN npm ci

COPY . .

RUN npm run generate:processor
RUN npm run build

CMD npm run generate:migration ; npm run start
Loading

0 comments on commit 342d582

Please sign in to comment.