Install Insignal
Install Insignal
You run two commands: one installs the insignal CLI, the other installs Insignal. Check the requirements first.
Before you start
Have these ready:
- The license file Insignal sent you.
- The DNS name people will open, with its record pointing at this machine.
- The first admin’s email address.
- Root access on the machine (
sudo).
1. Install the CLI
curl -fsSL https://get.insignal.ai | sh
The script downloads one file, the insignal binary, and installs it in /usr/local/bin. It checks the download against Insignal’s release signature with openssl first. If the signature is missing or does not match, it installs nothing.
To install a specific release instead of the latest, set INSIGNAL_VERSION:
curl -fsSL https://get.insignal.ai | INSIGNAL_VERSION=0.2.0 sh
2. Run the install
sudo insignal install --license <your license file>
The install asks for the domain and the first admin’s email. To answer up front, pass them as flags:
sudo insignal install --license acme.lic --domain insignal.example.com --admin-email admin@example.com
| Flag | Meaning |
|---|---|
--license <file> |
The license file. Required |
--domain <name> |
The DNS name people open, such as insignal.example.com |
--admin-email <email> |
The first admin’s email |
--tls-cert <file> and --tls-key <file> |
Your own certificate chain and private key (PEM), instead of Let’s Encrypt. See Set up HTTPS |
--registry-user, --registry-password |
Only for a private mirror of the images. The Insignal images are public; leave these out |
--yes, -y |
Answer yes to every question, such as installing Docker |
What the install does
Nothing on the machine changes until every check passes. Docker is the one exception, and only if you agree to install it.
- Checks the license’s signature and dates.
- Reads the release manifest for this CLI’s version and checks Insignal’s signature on it. The manifest pins every image by its digest, so Docker refuses any image that does not match.
- Checks the machine: OS, CPU, memory, disk, free ports and outbound access.
- Offers to install Docker Engine if it is missing.
- Checks that the domain resolves (with Let’s Encrypt).
- Pulls the images.
- Writes its files to
/opt/insignaland generates every secret. There are no default secrets. - Loads the license into the database.
- Starts the containers and waits up to five minutes until each one is healthy.
- Creates the first admin with a one-time password.
- Opens the app over HTTPS, as a browser would, to check the certificate.
What the install prints
At the end, the install prints three things:
- The address, such as
https://insignal.example.com. - A one-time password for the first admin. It is not stored anywhere. The admin chooses their own password at first sign-in. See Sign in as the first admin.
- The recovery key. Save it in your password manager now. Restoring a backup on a new machine needs it. Without it, every saved key and password must be entered again.
sudo insignal recovery-keyshows it again later.
Files the install writes
All in /opt/insignal. Do not edit them: the CLI owns them and rewrites them on upgrade.
| File | Holds | Readable by |
|---|---|---|
compose.yaml |
The containers, their images and volumes | Everyone |
Caddyfile |
The HTTPS setup | Everyone |
cube.js |
Cube’s configuration | Everyone |
install.toml |
Your answers: domain, images, versions. No secrets | Everyone |
insignal.env |
The server’s settings and secrets | Root only |
ingest.env |
The ingestion worker’s settings and token | Root only |
cube.env |
Cube’s settings and secrets | Root only |
license.lic |
The license file | Root only |
tls/ |
Your certificate and key, if you supplied them | Key: root only |
backups/ |
Snapshots each upgrade takes | Root only |
The data lives in Docker volumes: data (the app database and keys), lakehouse (synced tables), and Caddy’s caddy-data and caddy-config.
If the install stops
The install names the problem and what to fix. Fix it and run the same command again.
If an install stopped part way, after it wrote files, run sudo insignal uninstall --purge before you try again. See Troubleshoot.
Run the image without the CLI
The CLI is the supported way to install. It pins the images to a signed release, generates the secrets, and runs Cube, the ingestion worker and HTTPS beside the server. Running the server image on its own leaves those out, and insignal upgrade, insignal backup and insignal restore do not work with it.
Remove Insignal
sudo insignal uninstall
This stops and removes the containers. The data stays in its Docker volumes, and the configuration stays in /opt/insignal.
To delete everything, including every user, chart, dashboard and chat:
sudo insignal uninstall --purge
It asks you to type purge to confirm. Pass --yes to skip the question. There is no undo. Write a snapshot first if you may need the data again.