Skip to content

Commit

Permalink
limit disk space via stateless
Browse files Browse the repository at this point in the history
  • Loading branch information
LesnyRumcajs committed Jul 24, 2024
1 parent a70a708 commit 547a5e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/tests/bootstrapper/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ services:
forest --chain ${CHAIN} --encrypt-keystore false --no-gc \
--p2p-listen-address /ip4/0.0.0.0/tcp/$FOREST_P2P_PORT \
--import-snapshot $(ls /data/*.car.zst | tail -n 1)
--stateless
forest-peer:
depends_on:
init:
Expand Down Expand Up @@ -139,7 +139,6 @@ services:
environment:
- FIL_PROOFS_PARAMETER_CACHE=${FIL_PROOFS_PARAMETER_CACHE}
- LOTUS_API_LISTENADDRESS=/ip4/0.0.0.0/tcp/${LOTUS_RPC_PORT}/http
- LOTUS_SYNC_BOOTSTRAP_PEERS=1
- FULLNODE_API_INFO=/dns/lotus/tcp/${LOTUS_RPC_PORT}/http
entrypoint: [ "/bin/bash", "-c" ]
command:
Expand Down
2 changes: 2 additions & 0 deletions scripts/tests/bootstrapper/lotus.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ COPY --from=lotus-builder /lotus/lotus /usr/local/bin/

WORKDIR /lotus

ENV LOTUS_SYNC_BOOTSTRAP_PEERS=1

# Basic verification of dynamically linked dependencies
RUN lotus -v

Expand Down

0 comments on commit 547a5e4

Please sign in to comment.