forked from cerc-io/stack-orchestrator
[WIP] Add a Uniswap v3 watcher-only stack (#82)
* Add a stack for uniswap watcher with info app * Add deployment instructions * Use docker interactive option while loading the db dumps
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
FROM node:15.3.0-alpine3.10
|
||||
|
||||
RUN apk --update --no-cache add make git
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN echo "Building uniswap-v3-info" && \
|
||||
git checkout v0.1.1 && \
|
||||
yarn
|
||||
|
||||
CMD ["sh", "-c", "yarn start"]
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
# Build cerc/uniswap-v3-info
|
||||
|
||||
# See: https://stackoverflow.com/a/246128/1701505
|
||||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||
|
||||
docker build -t cerc/uniswap-v3-info:local -f ${SCRIPT_DIR}/Dockerfile ${CERC_REPO_BASE_DIR}/uniswap-v3-info
|
||||
@@ -0,0 +1,11 @@
|
||||
FROM node:16.17.1-alpine3.16
|
||||
|
||||
RUN apk --update --no-cache add git python3 alpine-sdk
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN echo "Building uniswap-watcher-ts" && \
|
||||
git checkout v0.3.4 && \
|
||||
yarn && yarn build && yarn build:contracts
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
# Build cerc/watcher-uniswap-v3
|
||||
|
||||
# See: https://stackoverflow.com/a/246128/1701505
|
||||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||
|
||||
docker build -t cerc/watcher-uniswap-v3:local -f ${SCRIPT_DIR}/Dockerfile ${CERC_REPO_BASE_DIR}/uniswap-watcher-ts
|
||||
Reference in New Issue
Block a user