Quickstart
Two ways to run SynergyDB: the Docker image, or a build from source. To reproduce the numbers in these docs, build from source, because the published image lags main. (source: README.md, Run it)
Option 1: Docker
docker run -d --name synergydb \
-p 5432:5432 -p 3306:3306 -p 27017:27017 -p 7687:7687 -p 6379:6379 -p 8080:8080 \
-e SYNERGYDB_SUPERUSER_PASSWORD='choose-a-password' \
-v synergydb-data:/data -v synergydb-wal:/wal \
synergytechllc/synergydb:latest
- The superuser is
postgresand the default database issynergydb. (source:README.md, Run it) - If you leave out
SYNERGYDB_SUPERUSER_PASSWORD, the container generates a random password on first boot and stores it, owner-only, on the data volume. The log tells you how to read it:docker exec synergydb cat /data/.superuser_password. Only if the data volume is not writable is the password printed to the log instead. (source:docker/entrypoint.sh. The README says the password is printed indocker logs; the entrypoint onmainstores it in the file.) - The image's built-in config (
docker/synergydb.toml) turns on every wire that has a reference differential suite. Prometheus remote storage and Arrow Flight SQL are off. To turn those on too, mountdocker/synergydb.allwires.tomlat/config/synergydb.toml. (source:README.md, Run it) - For Kafka clients outside the container, set
SYNERGYDB_KAFKA_ADVERTISED_HOSTto an address they can reach. (source:README.md)
The published image lags
main. Thelatesttag was built from8838377(2026-10-25) and does not contain the wire work measured in these docs. To get these results, build the image yourself withdocker build -t synergydb .or build from source. (source:README.md, Run it)
Option 2: From source
Needs Rust. (source: README.md)
git clone https://github.com/SynergyTech0/synergydb.git
cd synergydb
cargo build --release --features full # the build every proof used
./target/release/synergydb --dev # localhost only, postgres/postgres
--dev sets the superuser password to postgres and binds to 127.0.0.1. Never use it on a shared network, and never combine it with --bind-all. (source: README.md, Run it; see Security)
The repository is private; you need access from Synergy Tech to clone it.
Which wires start
- With no config file at all, wires start on their default ports (source:
README.md, Run it). The exception is the SQLite wire, which stays off untilsqlite_portis set (source:src/config.rs; see Configuration reference). - Started from the repository root, the server picks up
./synergydb.toml, which binds to 127.0.0.1, leaves Kafka, CouchDB and Schema Registry off and puts the SQLite wire on 5433. (source:README.md) - In any config file, a wire whose port key is missing is off. (source:
README.md)
Useful flags (synergydb --help lists all): -c <file> config file, --generate-config writes synergydb.toml with every default, --bind-all, --localhost or --bind <ip>, and synergydb passwd -U <user> resets a password while the server is stopped. (source: README.md; src/main.rs)
Connect
Use the standard client for the database you already know. (source: README.md, Run it)
psql -h localhost -U postgres -d synergydb
mysql -h 127.0.0.1 -P 3306 -u postgres -p synergydb
mongosh mongodb://localhost:27017/synergydb
cypher-shell -a bolt://localhost:7687
redis-cli -p 6379
curl http://localhost:8080/health
Each wire guide lists the port and a client for the other wires.
Create a user
Users are created over the PostgreSQL wire and authenticate on the other wires too. On non-SQL wires a login also needs membership in a wire role. (source: README.md, Security defaults; docs/status/2026-11-29-nonsql-wire-privileges.md)
CREATE USER app PASSWORD 'choose-a-password';
GRANT synergy_wire_all TO app; -- only if this user should log in on non-SQL wires
Details, including Redis and Memcached defaults, are in Security.
One engine, many wires
Every wire reads and writes the same storage engine. A table created over PostgreSQL is stored once; how each wire sees other models' data, and which cross-model writes can share one transaction, is in How it works. (source: README.md, Engine features; test-scripts/cross-model-acid/RESULTS.md)
Check it yourself
To run the same proofs these docs quote, against the real databases in Docker on your own machine:
make prove # all wires, about 8-16 GB RAM
make prove ARGS='--wires postgres,mysql' # a subset
See Benchmarks and reproduction. (source: prove/README.md)