All Templates / Storage

PostgreSQL with Wal2Json Plugin

PostgreSQL with Wal2Json Plugin

A quick setup for PostgreSQL including the Wal2Json Plugin in the template

Deploy PostgreSQL with Wal2Json Plugin

PostgreSQL-With-Wal2Json

nMessage/Meilisync-on-railway

Just deployed

/var/lib/postgresql/data

A PostgreSQL deployment template for Railway, enabling quick setup with the Wal2Json plugin.

For more details about the Wal2Json plugin -> https://github.com/eulerto/wal2json

About Wal2Json

PostgreSQL records all changes—INSERTs, UPDATEs, and DELETEs—in a log called the Write-Ahead Log (WAL). This log ensures database consistency and allows for replication and recovery. However, WAL data is stored in a format optimized for internal database operations, not direct consumption.

Wal2Json bridges this gap by converting WAL changes into structured JSON output, making it easier for applications to process database updates in real time. This is especially useful for data replication, change auditing, event-driven architectures, and streaming data to external systems. The plugin works by using logical decoding, allowing applications to read database changes without requiring full physical replication.

Depending on configuration, UPDATE and DELETE operations can include previous row versions, making it possible to track before-and-after states of data changes. Changes can be consumed via logical replication slots for continuous streaming or queried directly using a SQL API.


Template Content

PostgreSQL-With-Wal2Json

nMessage/Meilisync-on-railway
Deploy Now

Details

Message IT

Created on Jan 29, 2025

1 total projects

1 active projects

100% success on recent deploys

Dockerfile

Storage



More templates in this category

View Template
ReadySet

ReadySet

A lightweight caching engine for Postgres


Milo's Projects

View Template
Flare

Flare

A modern, lightning-fast file sharing platform built for self-hosting


FlintSH's Projects

View Template
EdgeDB

EdgeDB

EdgeDB template based on their Docker deployment guide


Ajit Krishna's Projects