From a7da7b4f87d4e4af734ab2c9f9bd8ff42f831681 Mon Sep 17 00:00:00 2001 From: "jonathan@vulcanize.io" Date: Sun, 5 May 2024 02:42:00 +0000 Subject: [PATCH] add peer static port --- .../data/compose/docker-compose-mainnet-lotus.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stack_orchestrator/data/compose/docker-compose-mainnet-lotus.yml b/stack_orchestrator/data/compose/docker-compose-mainnet-lotus.yml index e91a42b4..00d4e03d 100644 --- a/stack_orchestrator/data/compose/docker-compose-mainnet-lotus.yml +++ b/stack_orchestrator/data/compose/docker-compose-mainnet-lotus.yml @@ -8,6 +8,7 @@ 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" image: cerc/lotus-mainnet:local volumes: - parameters:/var/tmp/filecoin-proof-parameters @@ -16,6 +17,7 @@ services: - lotus_miner_data:/root/data ports: - "1234" + - "1235" deploy: restart_policy: condition: on-failure