5-Minute Quick Start
Run a local demo of the Synthesized Platform with Docker Compose, mask a sample PostgreSQL database with a ready-made workflow, and check the result.
-
Time
About 5–10 minutes once you have the package
-
Level
Beginner
-
You need
The demo package and a license key (step 1), Docker with Compose v2 or later (or Podman), 8 GB of memory for Docker, ports 80, 5432 and 5433 free
-
You get
The web UI, a sample database, an output database and demo workflows
|
Demo only. This setup uses demo credentials and secrets generated on first start. For production, see Docker Compose or Kubernetes (Helm). |
1. Get the demo package
The governor-compose.zip package contains the Docker Compose scripts and the demo database dumps.
Contact Synthesized to get it. Then unzip it and go to its folder:
unzip governor-compose.zip && cd governor-compose
Add your license key, from Synthesized, in the terminal you’ll start the platform from:
export SYNTHESIZED_KEY=<your license key>
docker-compose.yml passes it to the backend service. ./start.sh doesn’t store the key, so to keep it for later starts, add the line SYNTHESIZED_KEY=<your license key> to the .env file once ./start.sh has created it.
|
Without a license key, the platform still starts, in free mode. Oracle, SQL Server, Db2, Snowflake, SAP (SAP HANA, S/4HANA and OData V2) and CSV data sources are blocked, and PostgreSQL, MySQL and MariaDB data sources are limited to 20 tables and 100,000 rows per table. The placeholder |
Check that Docker and Docker Compose v2 or later are installed:
docker --version
docker compose version
Each command prints its version, for example:
Docker version 29.7.2, build a7dcaa6
Docker Compose version v5.3.1
If you use Podman, follow Run the demo with Podman instead of step 2.
2. Start the platform
./start.sh
On the first run, ./start.sh creates a .env file with six generated secrets: JWT_SECRET, CREDENTIALS_ENCRYPTION_KEY, SPRING_DATASOURCE_PASSWORD, VERSITY_ROOT_SECRET_KEY, AGENT_SECRET_KEY and ASSISTANT_DB_PASSWORD. On every start, it reuses them, sets the Governor database’s password and starts the services. To run docker compose up yourself, create them first with ./generate-secrets.sh or add them manually.
Wait for all services to start; this takes about 1–2 minutes.
To also start local S3-compatible storage (the Versity gateway), for CSV or XML workflows, run this instead:
COMPOSE_PROFILES=versity ./start.sh
The gateway is off unless you start it this way. Inside the Compose network, workflows reach it at http://versity:7070; from your machine, it’s at http://localhost:10000. Its access key is versityadmin, and its secret key is the VERSITY_ROOT_SECRET_KEY value in .env.
3. Log in
Open http://localhost:80 and log in with test@synthesized.io / Qq12345_.
The port can be changed in docker-compose.yml.
4. Check the demo data sources
The demo comes with an input and an output database already connected.
-
Click Data sources in the left sidebar. You should see both:
-
Open each one to see its connection details:
-
Click Test connection to check it connects.
When you connect your own databases later, you fill in the same form. See Connect a data source.
5. Run the masking workflow
-
In the left sidebar, open Public project. The demo workflows are listed there.
-
Open Masking workflow and click Run.
-
Wait for the run to finish. While it runs you can see each stage and how long it takes. When it is done, the workflow’s Last run status in the project list shows
COMPLETED. If it showsFAILED, see Troubleshooting.
The workflow reads the sample PostgreSQL database, masks the sensitive columns (names, emails and addresses), and writes the result to the output database. Data types and relationships between tables are kept.
6. Check the masked data
Connect to the output database with any PostgreSQL client, for example psql or DBeaver. Use the details of the output data source from step 4:
| From your machine | Inside the Docker Compose network | |
|---|---|---|
Host and port |
|
|
Output database |
|
|
Input database, to compare |
|
|
User and password |
|
|
This database server is the demo’s sample data, not the platform’s own database, which listens on port 5432 and has its own apiuser with a generated password.
Open the customer table and compare it with the input database:
| In the output | What happened | |
|---|---|---|
Masked |
Names and emails |
Replaced with realistic values in the same format. |
Masked |
Addresses |
Replaced with realistic addresses. |
Kept |
Primary keys |
Usually kept, so rows can still be matched. |
Kept |
Rows, data types and foreign keys |
The same number of rows and types; joins still work. |
For example:
SELECT first_name, last_name, email
FROM customer
LIMIT 5;
With psql from your machine:
psql -h localhost -p 5433 -U apiuser -d output_source
The password is apipassword.
What you just did
-
Started the platform with Docker Compose
-
Ran a masking workflow
-
Masked names, emails and addresses in a PostgreSQL database
-
Checked the result
Next steps
-
Use your own data
Create the database users, connect a data source, add it to a project and create a workflow.
-
See what happened
How masking works, the transformer reference and the architecture.
-
Go to production
Install with Docker Compose or Kubernetes (Helm).
Run the demo with Podman
Use Podman with Podman Compose instead of Docker. Make these changes before you start the services.
-
Rootless Podman: allow port 80 for unprivileged use:
echo "net.ipv4.ip_unprivileged_port_start=80" | sudo tee -a /etc/sysctl.conf sudo sysctl -pWith SELinux (for example RHEL), also label the port. Port 80 is normally already labelled
http_port_t, so modify the label with-m(-afails when the port is already defined):sudo semanage port -m -t http_port_t -p tcp 80 -
SELinux only: in
docker-compose.override.yml, add theZrelabelling option to every volume mount ofdbandtransformed_db. A mount that already has an option, such as:ro, takes it after a comma:volumes: - "./initdb/create_governor_db.sql:/docker-entrypoint-initdb.d/1.sql:Z" - "./initdb/create_governor_schema.sql:/docker-entrypoint-initdb.d/2.sql:Z" - "./scripts/sql:/opt/governor/sql:ro,Z"If you use local S3 storage, do the same for the
versity_dataandversity_metamounts indocker-compose.yml. Do the same for every folder you mount from your machine in Keep demo data between restarts, for example- "/path/on/your/machine/governor-logs:/app/logs:Z". Without the label, the container can’t write to the folder, even after thechown. -
If you didn’t allow port 80 above: change the UI port mapping to an unprivileged port:
ports: - "8080:8080" -
Create
.envwith./generate-secrets.sh, then pull the images and start the services:podman-compose pull podman-compose upTo also start the Versity gateway, run
podman-compose --profile versity upinstead. -
Open http://localhost:8080 (or http://localhost:80 if you kept port 80) and log in with
test@synthesized.io/Qq12345_.
Keep demo data between restarts
The demo keeps its data inside the database containers. To stop the demo and keep the data, run:
docker compose stop
Start it again with ./start.sh. docker compose down removes the containers, and the demo data with them.
To keep data even when the containers are removed, mount folders from your machine. Use a separate folder for each.
Governor database
The platform stores its configuration and state in PostgreSQL. In docker-compose.override.yml, add a line with an absolute path on your machine to the volumes list of the db service:
db:
volumes:
- "/path/on/your/machine/governor-db:/var/lib/postgresql"
The folder keeps the data from the first start with it mounted. A demo that already has data starts again from the demo’s initial data.
Demo input and output databases
The sample input data and the masked output from step 6 are in the transformed_db service. Without a mount, the next start loads the sample data again, and the masked output is gone until you run the workflow again. To keep both, add a line with an absolute path on your machine to the volumes list of transformed_db in docker-compose.override.yml:
transformed_db:
volumes:
- "/path/on/your/machine/governor-demo-db:/var/lib/postgresql/data"
As with the Governor database, the folder starts from the demo’s initial data.
Log files
The platform writes its log and the workflow run logs to /app/logs in the backend container.
-
In
docker-compose.yml, add avolumeslist to thebackendservice:backend: volumes: - "/path/on/your/machine/governor-logs:/app/logs" -
On Linux, before you start the demo, create the folder and give the container user ownership of it. Otherwise Docker creates it owned by root, and the platform can’t write its logs there:
mkdir -p /path/on/your/machine/governor-logs sudo chown -R 1001:0 /path/on/your/machine/governor-logs
Update or remove the demo
Update: when you get a new governor-compose.zip:
-
Stop the demo with
docker compose stop. -
Move the old
governor-composefolder aside and unzip the new package under the same folder name. Docker Compose names the demo after its folder, so the same name keeps your data. -
Copy
.envfrom the old folder into the new one, and theversity_dataandversity_metafolders if you use local S3 storage. -
If you changed
docker-compose.ymlordocker-compose.override.yml, for example a port or a mounted folder, make the same changes in the new folder. Without the database folder mount, the demo starts from its initial data. -
Run
./start.sh. If it warns that.envsets an olderGOVERNOR_IMAGE_TAG, remove that line from.envand run./start.shagain.
Don’t copy the new package’s files into the old folder.
Remove: stop and remove the containers and their data volumes:
docker compose down -v
Folders you mounted from your machine stay; delete them yourself.
Troubleshooting
| Problem | What to do |
|---|---|
Port 80 is already in use |
Stop the service using it, or change the host port in |
Permission denied when Docker runs (Linux) |
Add your user to the If you started the demo with |
Services don’t start |
Check Docker is running ( |
A data source is "not supported in the free version" |
The platform is running without a license key. Add the line |
The UI doesn’t open |
Check all containers are running ( |
You can’t connect to the demo databases |
From your machine use |
The workflow fails |
Check the data source connections, read the workflow logs in the UI, and check the input database has data. See common issues and the FAQ. |