# PowerSync Service

PowerSync Service is a backend service that keeps client-side SQLite databases in sync with your backend database, enabling mobile and web apps to work offline. It is open source and self-hosted, installable on Docker Hub.

Canonical page: https://ourlocalhost.com/app/6323/powersync-service

## Description

PowerSync Service is a backend service that keeps client-side SQLite databases in sync with your backend database, enabling mobile and web apps to work offline.

## Platform availability

Available on 0 of 10 platforms.

## Health score

75/100 (Good), based on 5 of 5 factors.
- Maintained: 100 (last commit 3 days ago)
- Popular: 52 (406 GitHub stars)
- Easy to install: 25 (0 install platforms, install notes, Docker image)
- Light to run: 80 (1 GB minimum RAM, runs on ARM)
- Security check: 100 (no serious findings, CI, tests)

## Links

- Official website: https://docs.powersync.com/architecture/powersync-service
- GitHub: https://github.com/powersync-ja/powersync-service
- Docker Hub: https://hub.docker.com/r/journeyapps/powersync-service
- Documentation: https://docs.powersync.com/llms.txt

## Common questions

### What Postgres storage setup is needed for PowerSync Service?

Start a Postgres storage container, choose a strong password, and create a dedicated storage user with permission to create things in the powersync_storage database. PowerSync uses this database to store sync data.

### Which storage port must remain reachable in a local Docker setup?

Keep the local port mapping for storage open, such as mapping 5433 to the database port, so PowerSync can reach it at 127.0.0.1:5433. If the port is closed or blocked, the service may not be able to read or write sync data.

### Where should the self-hosted sync config be mounted?

The demos explicitly mount a local powersync folder at /config inside the PowerSync container. Each demo keeps its own sync config there so it can be understood and changed independently.

### Can I use the PowerSync CLI with an instance I did not create with the CLI?

Yes, CLI commands such as status, validate, generate schema, and generate token work alongside any running self-hosted instance. You do not need to have set up the instance with the CLI.

---
Source: Our Local Host (https://ourlocalhost.com/app/6323/powersync-service), the self-hosted and open-source app directory.
