Pass --no-billing to tracker in deploy stacks when ENABLE_BILLING_DB=0

This commit is contained in:
Dobromir Popov
2026-07-03 19:19:09 +03:00
parent 83b042d94b
commit 5179806a67
2 changed files with 4 additions and 0 deletions

View File

@@ -45,6 +45,8 @@ services:
BILLING_ARGS=""
if [ "$${ENABLE_BILLING_DB:-1}" = "1" ]; then
BILLING_ARGS="--billing-db /var/lib/meshnet/billing.sqlite"
else
BILLING_ARGS="--no-billing"
fi
TREASURY_ARGS=""
if [ -n "$${SOLANA_RPC_URL:-}" ] || [ -n "$${USDT_MINT:-}" ] || [ -n "$${MESHNET_TREASURY_KEYPAIR_B64:-}" ]; then