tightening up
All checks were successful
Lint Checks / Run linter (push) Successful in 41s

This commit is contained in:
jonathan@vulcanize.io 2024-05-07 19:44:51 +00:00
parent 36fd4533c3
commit 6f08556937
2 changed files with 1 additions and 19 deletions

View File

@ -1,7 +1,6 @@
volumes: volumes:
parameters: parameters:
lotus-repo: lotus-repo:
lotus_miner_data:
lotus_shared: lotus_shared:
services: services:
@ -14,7 +13,6 @@ services:
- parameters:/var/tmp/filecoin-proof-parameters - parameters:/var/tmp/filecoin-proof-parameters
- lotus-repo:/var/lib/lotus - lotus-repo:/var/lib/lotus
- lotus_shared:/root/.lotus - lotus_shared:/root/.lotus
- lotus_miner_data:/root/data
ports: ports:
- "1234" - "1234"
- "1235" - "1235"

View File

@ -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 RUN apt-get update && apt-get install -y netcat && apt-get install -y iproute2
ENV FILECOIN_PARAMETER_CACHE /var/tmp/filecoin-proof-parameters 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_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/ ARG DOCKER_LOTUS_IMPORT_SNAPSHOT=https://forest-archive.chainsafe.dev/latest/mainnet/
ENV DOCKER_LOTUS_IMPORT_SNAPSHOT=${DOCKER_LOTUS_IMPORT_SNAPSHOT} 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/tmp/filecoin-proof-parameters
RUN mkdir /var/lib/lotus 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/tmp/filecoin-proof-parameters
RUN chown fc: /var/lib/lotus 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/tmp/filecoin-proof-parameters
VOLUME /var/lib/lotus VOLUME /var/lib/lotus
#VOLUME /var/lib/lotus-miner
#VOLUME /var/lib/lotus-worker
#VOLUME /var/lib/lotus-wallet
EXPOSE 1234 EXPOSE 1234
EXPOSE 1235 EXPOSE 1235
EXPOSE 2345
EXPOSE 3456
EXPOSE 1777