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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user