generated from defi-wonderland/ts-turborepo-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into feat/dvmd-dt-allocated-handler
- Loading branch information
Showing
44 changed files
with
671 additions
and
233 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Ignore all .env files in any directory or subdirectory | ||
**/.env | ||
|
||
# Ignore node_modules and dist directories in any directory or subdirectory | ||
**/node_modules | ||
**/dist | ||
|
||
**/.git | ||
**/.turbo | ||
**/*.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Based on example: | ||
FROM node:20-slim AS base | ||
ENV PNPM_HOME="/pnpm" | ||
ENV PATH="$PNPM_HOME:$PATH" | ||
RUN corepack enable | ||
|
||
FROM base AS build | ||
COPY . /usr/src/app | ||
WORKDIR /usr/src/app | ||
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile | ||
RUN pnpm run -r build | ||
RUN pnpm deploy --filter=./apps/processing --prod /prod/processing | ||
|
||
FROM base AS processing | ||
COPY --from=build /prod/processing /prod/processing | ||
WORKDIR /prod/processing | ||
CMD [ "pnpm", "start" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
# configuration for Optimism | ||
RPC_URLS=["https://optimism.llamarpc.com","https://rpc.ankr.com/optimism","https://optimism.gateway.tenderly.co","https://optimism.blockpi.network/v1/rpc/public","https://mainnet.optimism.io","https://opt-mainnet.g.alchemy.com/v2/demo"] | ||
CHAIN_ID=10 | ||
LOG_LEVEL=debug | ||
|
||
FETCH_LIMIT=500 | ||
FETCH_DELAY_MS=3000 | ||
FETCH_LIMIT=10000 | ||
FETCH_DELAY_MS=30000 | ||
|
||
DATABASE_URL= | ||
DATABASE_SCHEMA=chainDataSchema | ||
DATABASE_URL=postgresql://postgres:testing@localhost:5434/datalayer-postgres-db | ||
DATABASE_SCHEMA=chain_data_schema_1 | ||
|
||
INDEXER_GRAPHQL_URL= | ||
INDEXER_ADMIN_SECRET= | ||
INDEXER_GRAPHQL_URL=http://localhost:8080/v1/graphql | ||
INDEXER_ADMIN_SECRET=testing | ||
|
||
IPFS_GATEWAYS_URL=["https://ipfs.io","https://gateway.pinata.cloud","https://dweb.link", "https://ipfs.eth.aragon.network"] | ||
|
||
COINGECKO_API_KEY= | ||
COINGECKO_API_TYPE= #demo or pro | ||
COINGECKO_API_KEY={{YOUR_KEY}} | ||
COINGECKO_API_TYPE=demo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.