-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Update proxy block ingestor docker config
Fix: Update proxy block ingestor docker config
- Loading branch information
Showing
5 changed files
with
30 additions
and
16 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
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 |
---|---|---|
@@ -1,15 +1,17 @@ | ||
FROM colony-cdapp-dev-env/base:latest | ||
|
||
# @TODO maybe add a PROXY_BLOCK_INGESTOR_HASH and fallback to BLOCK_INGESTOR_HASH | ||
ENV BLOCK_INGESTOR_HASH=6a3e8fa3661f6ee328e45e6341cdd7cff2c012ec | ||
ENV BLOCK_INGESTOR_HASH=d5c077a352ee3ab75da70fb56666ba6c519237b1 | ||
# @TODO do we need here a contract to be in the format: | ||
# { | ||
# name: 'ColonyNetwork', | ||
# address: '0x777760996135F0791E2e1a74aFAa060711197777', | ||
# path: 'colonyNetwork/ColonyNetwork.sol/ColonyNetwork.json', | ||
# }, | ||
# also the RPC url needs to be different for each chain | ||
ENV CONTRACT_ADDRESSES='["0x777760996135F0791E2e1a74aFAa060711197777", "0x777760996135F0791E2e1a74aFAa060711197778", "0x777760996135F0791E2e1a74aFAa060711197779"]' | ||
ENV CONTRACT_ADDRESSES='["0x777760996135F0791E2e1a74aFAa060711197777", "0x777760996135F0791E2e1a74aFAa060711197778"]' | ||
ENV CHAIN_RPC_ENDPOINTS='["http://network-contracts-remote:8545", "http://network-contracts-remote-2:8545"]' | ||
ENV STATS_PORTS='["10002", "10003"]' | ||
|
||
# Declare volumes to set up metadata | ||
VOLUME [ "/colonyCDapp/amplify/mock-data" ] | ||
|
@@ -47,14 +49,13 @@ RUN npm i -g [email protected] | |
RUN pnpm install --frozen-lockfile | ||
|
||
# Compile JS files | ||
# @TODO change to @joincolony/proxy-chain | ||
RUN pnpm --filter @joincolony/main-chain run build | ||
RUN pnpm --filter @joincolony/proxy-chain run build | ||
|
||
WORKDIR /colonyCDappBackend | ||
|
||
# Open up ports to the docker image | ||
# Block Ingestor Stats | ||
EXPOSE 10001 | ||
EXPOSE 10002 10003 | ||
|
||
# Make the run script executable | ||
RUN chmod +x ./run.sh | ||
|
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