← Plantillas · Bases de datos
EL
Electric
Comunidad2 servicios
Postgres sync engine — real-time partial replication of your data into client apps and local-first software.
Desplegar Electric Plan gratis, sin tarjeta.
Qué obtienes
- Los 2 servicios aprovisionados juntos: electric-db, electric
- Una plantilla comunitaria, aún no verificada de extremo a extremo por el equipo de Railyard
- HTTPS automático y despliegues sin downtime
Cómo desplegar Electric
- 1
Conecta un servidor
Conecta un servidor de DigitalOcean, Hetzner o Vultr a Railyard, o cualquier servidor Linux por SSH.
- 2
Haz clic en "Desplegar Electric"
Railyard construye el contenedor y aprovisiona los 2 servicios.
- 3
Configura tu dominio
Apunta tu dominio a la app. Railyard emite un certificado HTTPS y lo renueva automáticamente.
Por qué desplegar en Railyard
Railyard aprovisiona los 2 servicios de este stack juntos — electric-db, electric — conectados para hablarse por la red privada, en un servidor que ya pagas.
Desplegar Electric es una pieza de un stack más grande que puedes seguir construyendo — agrega una base de datos, un worker, un cache, u otra app, todo en los mismos servidores que ya pagas.
Ideal para
- Real-time sync of Postgres data into web and mobile apps (local-first software)
- Partial, filtered replication of a subset of your data to the client, instead of polling an API
- Building collaborative or offline-capable apps on top of an existing Postgres database
Bueno saber
- Electric needs Postgres logical replication (wal_level=logical) — this stack runs its own dedicated Postgres with that set at startup, since Railyard's shared Postgres addon can't have its server-level WAL settings changed per app
- Runs with ELECTRIC_INSECURE=true (no auth) — switch to ELECTRIC_SECRET-based auth before exposing this beyond your own team
- This Postgres is dedicated to Electric's sync state; point your own app's writes at a separate database and have Electric read from it via a foreign/shared connection, or migrate your app's data into this one
Preguntas frecuentes
¿Cuánto cuesta autohospedar Electric?
Free cubre 1 servidor más un servidor de base de datos y 3 apps, sin tarjeta. Pro cuesta US$19/mes por equipo para hasta 5 servidores y apps ilimitadas. Team cuesta US$49/mes por equipo para servidores ilimitados. Pagas a tu proveedor de nube directamente por el servidor; Railyard no agrega margen sobre el cómputo.
¿Qué necesito para autohospedar Electric?
Un servidor de un proveedor como DigitalOcean, Hetzner o Vultr. Railyard aprovisiona los 2 servicios de este stack juntos, con HTTPS y tu dominio configurados.
¿Cómo despliego Electric en mi propio servidor?
Conecta un servidor a Railyard, haz clic en "Desplegar Electric" y configura tu dominio. Railyard construye el contenedor, conecta los servicios que necesita y emite un certificado HTTPS automáticamente.
¿Puedo usar mi propio dominio con Electric?
Sí. Apunta un registro DNS a tu servidor y Railyard emite y renueva un certificado HTTPS automáticamente.
Plantillas relacionadas
AC Apache CouchDB Document database with HTTP/JSON APIs and built-in multi-master replication — sync data between servers and devices. AK Apache Kafka Distributed event-streaming platform for high-throughput pub/sub and log storage. AP Apache Pulsar Cloud-native, multi-tenant pub/sub platform with built-in geo-replication and tiered storage — a Kafka alternative. CA Cassandra Base de datos NoSQL de columnas anchas diseñada para alta disponibilidad a gran escala.