Flask webhook service that emails buyers via Postmark when BTCPay receives a partial payment. Co-authored-by: Cursor <cursoragent@cursor.com>
15 lines
437 B
YAML
15 lines
437 B
YAML
version: '3.8'
|
|
services:
|
|
btcpay-mailer:
|
|
build: .
|
|
container_name: btcpay-mailer
|
|
restart: unless-stopped
|
|
ports:
|
|
- "5000:5000"
|
|
environment:
|
|
- WEBHOOK_SECRET=your_super_secret_token_123
|
|
- BTCPAY_URL=https://payment.nxtgroup.org
|
|
- BTCPAY_API_KEY=your_btcpay_api_key
|
|
- POSTMARK_API_KEY=your_postmark_server_token
|
|
- FROM_EMAIL=billing@nxtgroup.org
|
|
- BCC_EMAIL=noreply@nxtgroup.org |