Skip to content

Commit

Permalink
tightening up
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan@vulcanize.io committed May 7, 2024
1 parent 36fd453 commit 6f08556
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
volumes:
parameters:
lotus-repo:
lotus_miner_data:
lotus_shared:

services:
Expand All @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -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

0 comments on commit 6f08556

Please sign in to comment.