Skip to content

Commit

Permalink
separated out env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan@vulcanize.io committed May 6, 2024
1 parent a7da7b4 commit 057e0c5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@ services:
lotus:
environment:
- LOTUS_API_LISTENADDRESS=/ip4/0.0.0.0/tcp/1234/http
- LOTUS_LIBP2P_LISTENADDRESSES="/ip4/0.0.0.0/tcp/1235 /ip6/::/tcp/1235 /ip4/0.0.0.0/udp/1235/quic-v1 /ip6/::/udp/1235/quic-v1 /ip4/0.0.0.0/udp/1235/quic-v1/webtransport /ip6/::/udp/1235/quic-v1/webtransport"
- LOTUS_LIBP2P_LISTENADDRESSES:
- /ip4/0.0.0.0/tcp/1235
- /ip6/::/tcp/1235
- /ip4/0.0.0.0/udp/1235/quic-v1
- /ip6/::/udp/1235/quic-v1
- /ip4/0.0.0.0/udp/1235/quic-v1/webtransport
- /ip6/::/udp/1235/quic-v1/webtransport
image: cerc/lotus-mainnet:local
volumes:
- parameters:/var/tmp/filecoin-proof-parameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
git stash

# Use a release version tag to match the modified Dockerfile replaced in next step
git -C ${CERC_REPO_BASE_DIR}/lotus checkout v1.27.0-rc1-c
git -C ${CERC_REPO_BASE_DIR}/lotus checkout master

# Replace repo's Dockerfile with modified one
cp ${SCRIPT_DIR}/Dockerfile ${CERC_REPO_BASE_DIR}/lotus/Dockerfile
Expand Down

0 comments on commit 057e0c5

Please sign in to comment.