AkurAI Build
Menu

Public repository / d11e160f26a6dfe754f18d1060107de9d6b6b898

AkurAI-Platform / .env.example

Latest change a316fe0c00fc1f3b983f23d979b79a3178d7a089 - fix: recover payment controls and public claims (AKURAI-PLATFORM-11, AKURAI-PLATFORM-12, AKURAI-PLATFORM-14, AKURAI-PLATFORM-17, AKURAI-PLATFORM-22, AKURAI-PLATFORM-34) by Ólafur Búi Ólafsson

# Runtime
PAYMENTS_PROVIDER=disabled # disabled, mock (local testing only), or mypos
PAYMENTS_HOST=127.0.0.1
PAYMENTS_PORT=8198
PAYMENTS_PUBLIC_URL=http://127.0.0.1:8198
PLATFORM_UPSTREAM=http://127.0.0.1:8098
PAYMENTS_DB=./data/payments.db
# Active 32-byte base64 key. During rotation retain the previous key until all stored tokens are re-encrypted.
PAYMENTS_TOKEN_KEY=
PAYMENTS_TOKEN_KEY_ID=v1
PAYMENTS_TOKEN_KEY_PREVIOUS=
PAYMENTS_TOKEN_KEY_PREVIOUS_ID=previous

# Authenticated identity ingress. Keep secrets in PassVault and the protected environment.
# PAYMENTS_TRUSTED_PROXY_SECRET signs x-akurai-* proxy headers.
PAYMENTS_TRUSTED_PROXY_SECRET=
# Configure exactly one token verifier: HS256 secret or EdDSA public key.
PAYMENTS_IDENTITY_SECRET=
PAYMENTS_IDP_PUBLIC_KEY=
PAYMENTS_IDENTITY_ISSUER=
PAYMENTS_IDENTITY_AUDIENCE=

# myPOS Online Checkout config pack (recommended). Keep the value in PassVault.
MYPOS_CONFIG_PACK=
MYPOS_TEST_MODE=true

# Alternative to MYPOS_CONFIG_PACK: provide all five fields below.
MYPOS_STORE_ID=
MYPOS_WALLET_NUMBER=
MYPOS_KEY_INDEX=
MYPOS_PRIVATE_KEY=
MYPOS_PUBLIC_CERT=