← back to Dw Signup Fulfillment
.deploy.conf
20 lines
PROJECT_NAME=dw-signup-fulfillment
DEPLOY_HOST=45.61.58.125
DEPLOY_PATH=/root/Projects/dw-signup-fulfillment
HEALTH_URL=http://127.0.0.1:9862/healthz
INSTALL_CMD="npm ci --omit=dev"
# Runtime state the LIVE server (and the operator CLIs) write on prod. deploy.sh
# runs `rsync -az --delete`, so without these the deploy would overwrite prod's
# trade applications with this machine's fixture copy and delete the rollback
# maps outright. Measured 2026-09-10: prod trade-applications.jsonl was 19064
# bytes / 23 rows / 16 pending; the local copy was 727 bytes / 2 test rows.
# The two *-ledger.json files are DAILY-CAP state: auto-approve-ledger.json bounds how many
# trade accounts can be auto-granted per UTC day, mint-ledger.json bounds gift-card liability.
# Shipping this machine's copy over prod's would RESET the day's count and defeat the cap, so
# they are excluded like any other runtime state.
# Keep this as ONE assignment — a second RSYNC_EXTRA_EXCLUDES silently shadows it.
# /verification is local test evidence — prod has no use for it, and shipping it
# trips deploy.sh's delete-guard (its risky-pattern regex matches "verificat.*\.json").
RSYNC_EXTRA_EXCLUDES="/verification /data/auto-approve-ledger.json /data/tk11411-resend-ledger.jsonl /data/mint-ledger.json /data/trade-applications.jsonl /data/trade-applications.jsonl.* /data/recovery-*.json /data/trade-notify-failures.jsonl /data/latest.json /data/honor-reissue-ledger.jsonl /data/honor-reissue-ledger.jsonl.*"