Skip to main content


The Electric sync service is packaged using Docker and published to Docker Hub at

The configuration options are documented at API -> Sync service. For example:

docker run \
-e "DATABASE_URL=postgresql://..." \
-e "AUTH_JWT_ALG=HS512" \
-e "AUTH_JWT_KEY=..." \
-p 5133:5133 \
-p 5433:5433 \

If you'd like to run Electric and Postgres together in Docker, see the example Docker Compose files in examples/starter/template/backend/compose.