2024-04-25 20:14:26 +00:00
|
|
|
volumes:
|
|
|
|
parameters:
|
|
|
|
lotus-repo:
|
|
|
|
lotus_miner_data:
|
|
|
|
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-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-25 20:14:26 +00:00
|
|
|
- lotus_miner_data:/root/data
|
2024-04-16 02:16:00 +00:00
|
|
|
ports:
|
|
|
|
- "1234"
|
|
|
|
deploy:
|
|
|
|
restart_policy:
|
|
|
|
condition: on-failure
|
|
|
|
delay: 30s
|
2024-04-26 15:09:24 +00:00
|
|
|
entrypoint: ["sh", "/docker-lotus-entrypoint.sh"]
|