← back to AbramsEgo

.env.example

24 lines

# AbramsEgo env — copy to .env (gitignored) and fill in. Route keys via /secrets.

# --- Stripe (engine 1: sell_product) — TEST MODE ONLY -----------------------
# Must start sk_test_. If absent, /api/checkout + /api/stripe/webhook answer
# 503 {error:"stripe not configured"} and the landing page shows a
# "test keys not yet installed" note. A sk_live_ key is REFUSED at boot
# (money routes disabled + loud log) — going live is Steve-gated.
STRIPE_SECRET_KEY=sk_test_...
# Signing secret for POST /api/stripe/webhook (from `stripe listen` or the
# dashboard webhook endpoint config). Unsigned posts are rejected 400.
STRIPE_WEBHOOK_SECRET=whsec_...

# --- server ------------------------------------------------------------------
# PORT=9773
# ABRAMSEGO_USER=admin
# ABRAMSEGO_PASS=DW2024!

# --- self-funding cost knobs --------------------------------------------------
# ENERGY_AVG_WATTS=90
# ENERGY_RATE_USD_PER_KWH=0.30
# ENERGY_ATTRIB_PCT=100
# CNCP_BASE=http://127.0.0.1:3333
# KAMATERA_HOST=45.61.58.125