Sign inSign up

apoutchika/stripe-forward

By apoutchika

•Updated over 3 years ago

Simple stripe forward for docker compose

Image
0

916

apoutchika/stripe-forward repository overview

⁠Stripe Forward

Simple stripe forward for docker compose

⁠Environments Variables

  • STRIPE_SECRET: Secret key of Stripe
  • URL: forward url
  • EVENTS: listened events separed by commat

⁠Exemple

version: '3.7'

services:
  api:
    image: node
    command: sh -c "cd /app && npm run dev"
    working_dir: /app
    environment:
      STRIPE_SECRET: sk_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

  stripe:
    image: apoutchika/stripe-forward
    environment:
      URL: 'http://api/webhook'
      STRIPE_SECRET: sk_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      EVENTS: payment_intent.succeeded,charge.captured,charge.updated
    depends_on:
      - api

Tag summary

Content type

Image

Digest

Size

51.5 MB

Last updated

over 6 years ago

docker pull apoutchika/stripe-forward