Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

services/horizon/docker/ledgerexporter: deploy ledgerexporter image as service #4490

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
#4483: include cc use disk on docker invocation of ledger exporter
  • Loading branch information
sreuland committed Jul 29, 2022
commit 466b366c670bff246623592833cef096404c86bc
4 changes: 3 additions & 1 deletion services/horizon/docker/ledgerexporter/start
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ WRITE_LATEST_PATH="${WRITE_LATEST_PATH:=false}"
NETWORK_PASSPHRASE="${NETWORK_PASSPHRASE:=Public Global Stellar Network ; September 2015}"
HISTORY_ARCHIVE_URLS="${HISTORY_ARCHIVE_URLS:=https://s3-eu-west-1.amazonaws.com/history.stellar.org/prd/core-live/core_live_001}"
CAPTIVE_CORE_CONFIG="${CAPTIVE_CORE_CONFIG:=/captive-core-pubnet.cfg}"
CAPTIVE_CORE_USE_DB="${CAPTIVE_CORE_USE_DB:=true}"

if [ -z "$ARCHIVE_TARGET" ]; then
echo "error: undefined ARCHIVE_TARGET env variable"
Expand Down Expand Up @@ -49,6 +50,7 @@ export TRACY_NO_INVARIANT_CHECK=1
/ledgerexporter --target "$ARCHIVE_TARGET" \
--captive-core-toml-path "$CAPTIVE_CORE_CONFIG" \
--history-archive-urls "$HISTORY_ARCHIVE_URLS" --network-passphrase "$NETWORK_PASSPHRASE" \
--continue="$CONTINUE" --write-latest-path="$WRITE_LATEST_PATH" --start-ledger "$START" --end-ledger "$END"
--continue="$CONTINUE" --write-latest-path="$WRITE_LATEST_PATH" \
--start-ledger "$START" --end-ledger "$END" --captive-core-use-db "$CAPTIVE_CORE_USE_DB"

echo "OK"