orexza/orisun

By orexza

Updated 1 day ago

The batteries included eventstore.

Image
Networking
Internet of things
Databases & storage
1

5.3K

orexza/orisun repository overview

Orisun

Orisun is a batteries-included event store for systems that need durable event history, content-based consistency checks, and real-time delivery without running a separate broker.

It supports PostgreSQL for clustered production deployments and SQLite for robust single-node deployments. Each Docker tag includes the Orisun server, embedded NATS JetStream, gRPC APIs, and admin APIs.

Tags

┌──────────────────┬────────────────────────────┐ │ Tag │ Backend │ ├──────────────────┼────────────────────────────┤ │ latest │ All backends │ │ pg │ PostgreSQL only │ │ sqlite │ SQLite only │ │ │ All backends for a release │ │ -pg │ PostgreSQL-only release │ │ -sqlite │ SQLite-only release │ └──────────────────┴────────────────────────────┘

Examples:

docker pull orexza/orisun:latest docker pull orexza/orisun:pg docker pull orexza/orisun:sqlite docker pull orexza/orisun:0.2.9-pg docker pull orexza/orisun:0.2.9-sqlite

Quick Start: PostgreSQL

services:
  postgres:
    image: postgres:17.5-alpine3.22
    environment:
      POSTGRES_DB: orisun
      POSTGRES_USER: postgres
      POSTGRES_PASSWORD: password@1
    volumes:
      - postgres-data:/var/lib/postgresql/data

  orisun:
    image: orexza/orisun:pg
    environment:
      ORISUN_BACKEND: postgres
      ORISUN_PG_HOST: postgres
      ORISUN_PG_USER: postgres
      ORISUN_PG_PASSWORD: password@1
      ORISUN_PG_NAME: orisun
      ORISUN_ADMIN_USERNAME: admin
      ORISUN_ADMIN_PASSWORD: changeit
    ports:
      - "5005:5005"
      - "8991:8991"
    depends_on:
      - postgres

volumes:
  postgres-data:

## Quick Start: SQLite

services:
  orisun:
    image: orexza/orisun:sqlite
    environment:
      ORISUN_BACKEND: sqlite
      ORISUN_SQLITE_DIR: /var/lib/orisun/sqlite
      ORISUN_NATS_CLUSTER_ENABLED: "false"
      ORISUN_BOUNDARIES: '[{"name":"orders","description":"orders"},{"name":"orisun_admin","description":"admin"}]'
      ORISUN_ADMIN_BOUNDARY: orisun_admin
      ORISUN_ADMIN_USERNAME: admin
      ORISUN_ADMIN_PASSWORD: changeit
    ports:
      - "5005:5005"
      - "8991:8991"
    volumes:
      - orisun-data:/var/lib/orisun

volumes:
  orisun-data:

## Ports

┌──────┬───────────────┐
│ Port │ Purpose       │
├──────┼───────────────┤
│ 5005 │ gRPC API      │
│ 8991 │ Admin API     │
│ 4222 │ Embedded NATS │
└──────┴───────────────┘

## Documentation

Project docs, release notes, and source code are available at:

https://github.com/oexza/Orisun

Tag summary

Content type

Image

Digest

sha256:996f27af4

Size

544.8 MB

Last updated

1 day ago

docker pull orexza/orisun:0.6.1-fdb