feat(dev): add stripe-cli service for local webhook forwarding

Adds a stripe-cli container under the 'dev' profile that forwards
Stripe webhook events directly to app:3000, bypassing Caddy. Start
with: docker compose --profile dev up -d
This commit is contained in:
2026-05-19 16:05:08 +02:00
parent c966797073
commit 982c268acc
+9
View File
@@ -50,5 +50,14 @@ services:
depends_on:
- app
stripe-cli:
image: stripe/stripe-cli:latest
command: listen --forward-to http://app:3000/api/webhooks/stripe --api-key ${STRIPE_SECRET_KEY}
depends_on:
- app
restart: unless-stopped
profiles:
- dev
volumes:
uploads: