---
title: "Deploy PostgreSQL to Meilisearch Sync"
description: "A quick setup for syncing data from PostgreSQL to Meilisearch"
category: "Storage"
url: https://railway.com/deploy/GWvjtt
---

# Deploy PostgreSQL to Meilisearch Sync

A quick setup for syncing data from PostgreSQL to Meilisearch

**[Deploy PostgreSQL to Meilisearch Sync on Railway](https://railway.com/template/GWvjtt)**

- **Creator:** Message IT
- **Category:** Storage
- **Total deploys:** 5

## Template content

### Postgres DB https://devicons.railway.app/Postgre

- **Source:** nMessage/Meilisync-on-railway

### Meilisync-on-railway

- **Source:** nMessage/Meilisync-on-railway

## Documentation

### Railway Template: Meilisync Integration

This template provides a streamlined setup for integrating PostgreSQL with a Meilisearch instance using Meilisync for data synchronization. It is designed for straightforward configuration, enabling a quick connection between a PostgreSQL database and Meilisearch without extra dependencies like an admin-dashboard or Redis for progress tracking.

### Key Features:
- **Configurable Setup**: Modify the configuration file located at `/sync/config.yml` in GitHub to adjust synchronization parameters for specific data and indexing needs.
- **Indexing with Meilisearch**: Ensures that the target index is created and synchronized in the connected Meilisearch service or instance using [Meilisync](https://github.com/long2ice/meilisync)
- **Database Compatibility**: Includes PostgreSQL pre-requisites, based on Railways PostgreSQL 16 with SSL Template
- **Bring Your Own Meilisearch Instance**: This template requires an existing Meilisearch instance, so users will need to connect their own service.

### Setup Instructions:
1. **Configure**: Follow the setup instructions from [Meilisync's GitHub repository](https://github.com/long2ice/meilisync) to configure and verify the setup.

2. **Verify**: Ensure that the required table exists in PostgreSQL and that `/sync/config.yml` is correctly configured for synchronization requirements. You might get a strange error & service crash if this is not done.

### Additional Information

For more details on using templates and deploying services on Railway, see [Railway's Documentation](https://docs.railway.app/reference/templates). To modify the `config.yml` file for Meilisync, consider **ejecting the repository** under settings.

This template is a straightforward setup for synchronizing PostgreSQL data with Meilisearch while utilizing Railway’s deployment infrastructure. Hope you enjoy!

## Similar templates

- [Garage S3 Storage](https://railway.com/deploy/garage-s3-storage) — Ultra-light S3 server: fast, open-source, plug-and-play.
- [Redis](https://railway.com/deploy/redis-1) — Self Host Latest Redis with Railway
- [EasyImg](https://railway.com/deploy/easyimg) — Simple self-hostable Nuxt.js personal image hosting system.

Open this page in a browser: https://railway.com/deploy/GWvjtt
