diff --git a/stack_orchestrator/data/compose/docker-compose-mainnet-lotus.yml b/stack_orchestrator/data/compose/docker-compose-mainnet-lotus.yml new file mode 100644 index 00000000..f8b0584c --- /dev/null +++ b/stack_orchestrator/data/compose/docker-compose-mainnet-lotus.yml @@ -0,0 +1,38 @@ +# By default, this docker-compose file will start a lotus fullnode +# +# Some directives have been left commented out so they serve as an +# example for more advanced use. +# +# To provide a custom configuration file, or automatically import +# a wallet, uncomment the "configs" or "secrets" sections. +# +# start on a single node: +# +# docker-compose up +# +# start on docker swarm: +# +# docker swarm init (if you haven't already) +# docker stack deploy -c docker-compose.yaml mylotuscluster +# +# for more information, please visit lotus.filecoin.io + +version: "3.8" + +volumes: + parameters: + lotus-repo: + +services: + lotus: + image: cerc/lotus:local + volumes: + - parameters:/var/tmp/filecoin-proof-parameters + - lotus-repo:/var/lib/lotus + ports: + - "1234" + deploy: + restart_policy: + condition: on-failure + delay: 30s + command: ["lotus", "daemon"] diff --git a/stack_orchestrator/data/stacks/mainnet-lotus/README.md b/stack_orchestrator/data/stacks/mainnet-lotus/README.md index c9d25b4a..7d8b09e7 100644 --- a/stack_orchestrator/data/stacks/mainnet-lotus/README.md +++ b/stack_orchestrator/data/stacks/mainnet-lotus/README.md @@ -1,4 +1,4 @@ -# Blast stack +# Lotus stack ## Clone required repositories ```