btcpaymailer/.env.example
Erling 6edd208245 Handle BTCPay __test__ webhooks with Postmark test email
Send a bannered test transactional email when BTCPay UI test events
arrive instead of failing on a missing invoice API lookup.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-08 13:18:21 +02:00

28 lines
790 B
Plaintext

# Image (Gitea container registry)
IMAGE_REGISTRY=git.nxtgroup.org
IMAGE_OWNER=erling
IMAGE_NAME=btcpaymailer
IMAGE_TAG=1.0.0
# Container
CONTAINER_NAME=btcpay-mailer
HOST_PORT=5000
# Required secrets
BTCPAY_WEBHOOK_SECRET=secret_from_btcpay_webhook_settings
TEST_TOKEN=generate_with_openssl_rand_hex_32
BTCPAY_API_KEY=your_btcpay_api_key
POSTMARK_API_KEY=your_postmark_server_token
# Optional
BTCPAY_URL=https://payment.nxtgroup.org
FROM_EMAIL=billing@nxtgroup.org
BCC_EMAIL=admin@nxtgroup.org,finance@nxtgroup.org
WEBHOOK_TEST_EMAIL=erling@nxtgroup.org
DEBUG=false
# Test Postmark after deploy (docker exec or Portainer console):
# python app.py test-email you@example.com
# Or from host:
# curl -X POST "http://localhost:5000/test-email?token=YOUR_TEST_TOKEN&to=you@example.com"