From 6f08556937691ca8f269e6d37d7ca668e349a298 Mon Sep 17 00:00:00 2001 From: "jonathan@vulcanize.io" Date: Tue, 7 May 2024 19:44:51 +0000 Subject: [PATCH] tightening up --- .../compose/docker-compose-mainnet-lotus.yml | 2 -- .../cerc-mainnet-lotus/Dockerfile | 18 +----------------- 2 files changed, 1 insertion(+), 19 deletions(-) diff --git a/stack_orchestrator/data/compose/docker-compose-mainnet-lotus.yml b/stack_orchestrator/data/compose/docker-compose-mainnet-lotus.yml index 7350553f..88573d35 100644 --- a/stack_orchestrator/data/compose/docker-compose-mainnet-lotus.yml +++ b/stack_orchestrator/data/compose/docker-compose-mainnet-lotus.yml @@ -1,7 +1,6 @@ volumes: parameters: lotus-repo: - lotus_miner_data: lotus_shared: services: @@ -14,7 +13,6 @@ services: - parameters:/var/tmp/filecoin-proof-parameters - lotus-repo:/var/lib/lotus - lotus_shared:/root/.lotus - - lotus_miner_data:/root/data ports: - "1234" - "1235" diff --git a/stack_orchestrator/data/container-build/cerc-mainnet-lotus/Dockerfile b/stack_orchestrator/data/container-build/cerc-mainnet-lotus/Dockerfile index 9ecbd716..2557e822 100644 --- a/stack_orchestrator/data/container-build/cerc-mainnet-lotus/Dockerfile +++ b/stack_orchestrator/data/container-build/cerc-mainnet-lotus/Dockerfile @@ -99,10 +99,7 @@ FROM lotus-base AS lotus-all-in-one RUN apt-get update && apt-get install -y netcat && apt-get install -y iproute2 ENV FILECOIN_PARAMETER_CACHE /var/tmp/filecoin-proof-parameters -ENV LOTUS_MINER_PATH /var/lib/lotus-miner ENV LOTUS_PATH /var/lib/lotus -ENV LOTUS_WORKER_PATH /var/lib/lotus-worker -ENV WALLET_PATH /var/lib/lotus-wallet ARG DOCKER_LOTUS_IMPORT_SNAPSHOT=https://forest-archive.chainsafe.dev/latest/mainnet/ ENV DOCKER_LOTUS_IMPORT_SNAPSHOT=${DOCKER_LOTUS_IMPORT_SNAPSHOT} @@ -115,26 +112,13 @@ RUN chmod +x /docker-lotus-entrypoint.sh RUN mkdir /var/tmp/filecoin-proof-parameters RUN mkdir /var/lib/lotus -RUN mkdir /var/lib/lotus-miner -RUN mkdir /var/lib/lotus-worker -RUN mkdir /var/lib/lotus-wallet RUN chown fc: /var/tmp/filecoin-proof-parameters RUN chown fc: /var/lib/lotus -RUN chown fc: /var/lib/lotus-miner -RUN chown fc: /var/lib/lotus-worker -RUN chown fc: /var/lib/lotus-wallet VOLUME /var/tmp/filecoin-proof-parameters VOLUME /var/lib/lotus -#VOLUME /var/lib/lotus-miner -#VOLUME /var/lib/lotus-worker -#VOLUME /var/lib/lotus-wallet - - EXPOSE 1234 EXPOSE 1235 -EXPOSE 2345 -EXPOSE 3456 -EXPOSE 1777 +