Skip to content

Commit

Permalink
env and entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Kiselev committed Mar 27, 2024
1 parent ab0f020 commit b4f7d5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker-compose/.env
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ LC_COMPOSE_RPC_PORT=1234
LC_COMPOSE_EXPORTER_PORT=9128
LC_COMPOSE_IMAGE=nexus.bitq.dev/repository/lotus
LC_COMPOSE_IMAGE_TAG=latest
LC_COMPOSE_SNAPSHOT_URL=https://snapshots.mainnet.filops.net/minimal/latest.zst
LC_COMPOSE_SNAPSHOT_URL=https://forest-archive.chainsafe.dev/latest/mainnet/
LC_COMPOSE_IPADDR=127.0.0.1
LC_COMPOSE_NETWORK=mainnet
LC_COMPOSE_NODE_TAG=filecoin
Expand Down
2 changes: 1 addition & 1 deletion scripts/docker-lotus-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ if [ ! -z $DOCKER_LOTUS_IMPORT_SNAPSHOT ]; then
GATE="$LOTUS_PATH"/date_initialized
# Don't init if already initialized.
if [ ! -f "$GATE" ]; then
echo importing minimal snapshot
echo "importing minimal snapshot $DOCKER_LOTUS_IMPORT_SNAPSHOT"
/usr/local/bin/lotus daemon --import-snapshot "$DOCKER_LOTUS_IMPORT_SNAPSHOT" --halt-after-import
# Block future inits
date > "$GATE"
Expand Down

0 comments on commit b4f7d5d

Please sign in to comment.