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-mainnet:local volumes: - parameters:/var/tmp/filecoin-proof-parameters - lotus-repo:/var/lib/lotus - lotus_shared:/root/.lotus - lotus_miner_data:/root/data ports: - "1234" deploy: restart_policy: condition: on-failure delay: 30s entrypoint: ["sh", "/docker-lotus-entrypoint.sh"]