From 057e0c537225471e5d94f64a7ac796244f9b2431 Mon Sep 17 00:00:00 2001 From: "jonathan@vulcanize.io" Date: Mon, 6 May 2024 00:27:47 +0000 Subject: [PATCH] separated out env vars --- .../data/compose/docker-compose-mainnet-lotus.yml | 8 +++++++- .../data/container-build/cerc-mainnet-lotus/build.sh | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/stack_orchestrator/data/compose/docker-compose-mainnet-lotus.yml b/stack_orchestrator/data/compose/docker-compose-mainnet-lotus.yml index 00d4e03d..ef93dc7a 100644 --- a/stack_orchestrator/data/compose/docker-compose-mainnet-lotus.yml +++ b/stack_orchestrator/data/compose/docker-compose-mainnet-lotus.yml @@ -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 diff --git a/stack_orchestrator/data/container-build/cerc-mainnet-lotus/build.sh b/stack_orchestrator/data/container-build/cerc-mainnet-lotus/build.sh index 25f58c98..4dd2c41a 100755 --- a/stack_orchestrator/data/container-build/cerc-mainnet-lotus/build.sh +++ b/stack_orchestrator/data/container-build/cerc-mainnet-lotus/build.sh @@ -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