add peer static port
All checks were successful
Lint Checks / Run linter (push) Successful in 40s

This commit is contained in:
jonathan@vulcanize.io 2024-05-05 02:42:00 +00:00
parent 21f7b96eb4
commit a7da7b4f87

View File

@ -8,6 +8,7 @@ services:
lotus: lotus:
environment: environment:
- LOTUS_API_LISTENADDRESS=/ip4/0.0.0.0/tcp/1234/http - 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 image: cerc/lotus-mainnet:local
volumes: volumes:
- parameters:/var/tmp/filecoin-proof-parameters - parameters:/var/tmp/filecoin-proof-parameters
@ -16,6 +17,7 @@ services:
- lotus_miner_data:/root/data - lotus_miner_data:/root/data
ports: ports:
- "1234" - "1234"
- "1235"
deploy: deploy:
restart_policy: restart_policy:
condition: on-failure condition: on-failure