separated out env vars
All checks were successful
Lint Checks / Run linter (push) Successful in 44s

This commit is contained in:
jonathan@vulcanize.io 2024-05-06 00:27:47 +00:00
parent a7da7b4f87
commit 057e0c5372
2 changed files with 8 additions and 2 deletions

View File

@ -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

View File

@ -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