Favicon of Svix

Svix

Send simple, secure, and scalable webhooks. Get automatic retries, robust security, and an embeddable portal for your users. Integrate in minutes.

Building a reliable webhook system is more complex than it appears, involving significant engineering effort to handle failures, security, and scalability. This service provides a complete, enterprise-ready webhook platform so you can focus on your core product instead of reinventing the wheel. Integrate in minutes with just a few lines of code and deliver a world-class experience to your users.

The platform handles all the difficult parts of sending webhooks, ensuring they are simple, secure, and scalable. Key features include:

  • Automatic Retries: Guarantees deliverability by automatically retrying failed or hanging customer endpoints.
  • Security First: Protects against common threats like SSRF, replay attacks, and unauthenticated events.
  • Logs & Monitoring: Provides detailed logs and monitoring to track deliverability and manage failing endpoints.
  • Embeddable User Portal: Offer your customers a UI to add endpoints, inspect logs, and view reports with a single line of code.
  • Superior Developer Experience: Equip your users with tools to test, inspect, and replay their webhooks easily.

Directory Structure

svix
postgres-data
redis-data
.env
docker-compose.yml

docker-compose.yml

services:
  svix-server:
    image: svix/svix-server:latest
    ports:
      - "8071:8071"
    environment:
      - SVIX_DB_DSN=postgres://svix:${POSTGRES_PASSWORD}@postgres:5432/svix
      - SVIX_REDIS_DSN=redis://redis:6379
      - SVIX_JWT_SECRET=${SVIX_JWT_SECRET}
    depends_on:
      postgres:
        condition: service_healthy
      redis:
        condition: service_started

  postgres:
    image: postgres:15-alpine
    environment:
      - POSTGRES_USER=svix
      - POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
      - POSTGRES_DB=svix
    volumes:
      - ./postgres-data:/var/lib/postgresql/data
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U svix -d svix"]
      interval: 5s
      timeout: 5s
      retries: 5

  redis:
    image: redis:7-alpine
    volumes:
      - ./redis-data:/data
    command: redis-server --appendonly yes

.env

POSTGRES_PASSWORD=your_secure_postgres_password
SVIX_JWT_SECRET=your_super_secret_jwt_key_change_me
Categories:

Share:

Ad
Favicon

 

  
 

Similar to Svix

Favicon

 

  
  
Favicon

 

  
  
Favicon