Deploy PowerSync Service on Coolify
Integration guide for deploying the PowerSync Service on Coolify
Coolify is an open-source, self-hosted platform that simplifies the deployment and management of applications, databases, and services on your own infrastructure. Think of it as a self-hosted alternative to platforms like Heroku or Netlify.
Before following this guide, you should:
- Read through the PowerSync Service Setup guide to understand the requirements and configuration options. This guide assumes you have already done so, and will only cover the Coolify specific setup.
- Have Coolify installed and running.
Background
For the PowerSync Service to function correctly, you will need:
- A database,
- Authentication service, and
- Data upload service.
The easiest way to get started is to use Supabase as it provides all three. However, you can also use a different database, and custom authentication and data upload services.
Steps
Configuration options
The following configuration options should be updated:
- Environment variables
sync_rules.yaml
file (according to your data requirements)powersync.yaml
file
Base Compose
file
The following Compose file serves as a universal starting point for deploying the PowerSync Service on Coolify.
Was this page helpful?