2024-04-25 20:14:26 +00:00
|
|
|
volumes:
|
|
|
|
parameters:
|
|
|
|
lotus-repo:
|
|
|
|
lotus_shared:
|
|
|
|
|
2024-04-16 02:16:00 +00:00
|
|
|
services:
|
|
|
|
lotus:
|
2024-04-16 17:23:30 +00:00
|
|
|
environment:
|
|
|
|
- LOTUS_API_LISTENADDRESS=/ip4/0.0.0.0/tcp/1234/http
|
2024-05-06 19:09:59 +00:00
|
|
|
- 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
|
2024-04-26 15:09:24 +00:00
|
|
|
image: cerc/lotus-mainnet:local
|
2024-04-16 02:16:00 +00:00
|
|
|
volumes:
|
|
|
|
- parameters:/var/tmp/filecoin-proof-parameters
|
|
|
|
- lotus-repo:/var/lib/lotus
|
2024-04-26 15:09:24 +00:00
|
|
|
- lotus_shared:/root/.lotus
|
2024-04-16 02:16:00 +00:00
|
|
|
ports:
|
|
|
|
- "1234"
|
2024-05-05 02:42:00 +00:00
|
|
|
- "1235"
|
2024-04-16 02:16:00 +00:00
|
|
|
deploy:
|
|
|
|
restart_policy:
|
|
|
|
condition: on-failure
|
|
|
|
delay: 30s
|
2024-04-26 15:09:24 +00:00
|
|
|
entrypoint: ["sh", "/docker-lotus-entrypoint.sh"]
|