stack-orchestrator/stack_orchestrator/data/compose/docker-compose-mainnet-lotus.yml

24 lines
517 B
YAML

volumes:
parameters:
lotus-repo:
lotus_miner_data:
lotus_shared:
services:
lotus:
environment:
- LOTUS_API_LISTENADDRESS=/ip4/0.0.0.0/tcp/1234/http
image: cerc/lotus:local
volumes:
- parameters:/var/tmp/filecoin-proof-parameters
- lotus-repo:/var/lib/lotus
- lotus_shared:/root/.lotus-shared
- lotus_miner_data:/root/data
ports:
- "1234"
deploy:
restart_policy:
condition: on-failure
delay: 30s
command: ["lotus", "daemon"]