Datadios On-Premises Installation Guide - Ubuntu
Supported Ubuntu versions: 24.04 LTS or newer
System Requirements
Hardware Requirements (Minimum)
| Component | Specification |
|---|---|
| Processor | 3.1 GHz Intel Xeon Platinum (4 core) |
| Memory (RAM) | 16GB |
| Storage Volume | 128GB |
Ubuntu Installation Steps
Software Prerequisites
- Latest version of Docker (Ensure Docker is usable as a non-root user)
- Docker Compose
Prerequisites Installation Steps
Run the following commands in your terminal to install Docker and Docker Compose:
# Update package index
sudo apt update
# Install Docker
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
# Install Docker Compose
sudo apt install docker-compose-plugin
# Add user to docker group
sudo usermod -aG docker $USER
newgrp docker
Verify the installation:
docker --version
docker compose version
If both commands return version numbers, Docker and Docker Compose are properly installed.
Pre-Installation Setup
Access for Datadios
Datadios needs access to all the data sources you will be connecting through the platform.
- If Datadios is used for migration validation, it needs access to the source and destination databases used for validation (e.g., Snowflake, Oracle, SQL Server, etc.)
- For ports, see the docker compose file (Datadios can be setup for
httporhttps)
Outbound Internet Access
Datadios makes one optional outbound connection of its own at server start:
| Destination | Port | When | Required? |
|---|---|---|---|
models.dev | 443 | Once at server start, at most every 14 days | No — fails soft |
This refreshes the list of Gen AI models offered in the OpenAI, Claude, Gemini and Cohere data source dropdowns. If it is blocked, Datadios logs it and serves the model lists that shipped with your release — nothing errors and nothing is blocked.
On an air-gapped or firewall-restricted host, disable it explicitly so the server does not wait out the timeout on each start:
GENAI_CATALOG_ENABLED=false
See Gen AI Model Catalog for the full behaviour, configuration options, and the upgrade notes.
Docker Hub Access
Datadios needs to pull the required Docker images from Docker Hub. Ensure you have access to Docker Hub and the necessary credentials provided by the Datadios team.
Docker Hub Login
Run the following command in your terminal:
docker login -u docker-hub-username -p docker-hub-password
Replace docker-hub-username and docker-hub-password with the credentials provided by the Datadios team.
PostgreSQL Database Configuration
Datadios uses PostgreSQL as its backend database to store configuration and user data. The database can be set up either on the cloud or locally.
Cloud-based PostgreSQL Server
Datadios can connect to a cloud-based PostgreSQL server.
The PostgreSQL server should be set up with the pg_partman and pg_vector extensions. You'll need the following information from your cloud provider:
- Database URL/endpoint
- Username
- Password
Local PostgreSQL Server
Datadios can also run a local PostgreSQL server using Docker. You don't need to set up PostgreSQL separately; this will be installed as part of Datadios installation.
Installing Datadios
Download the following two files:
Bash script to generate docker-compose configuration from template with user inputs
Docker Compose template file used by the installation script
After downloading both files:
- Place them in the same directory
- Open a terminal in that directory
- Make the script executable:
chmod +x install_datadios.sh - Run the script by executing:
./install_datadios.sh
The script will prompt you for configuration details (server name, port, database password, data directory, and the platform admin email and password), create the required docker-compose configuration file, and pull the necessary Docker images from Docker Hub.
The platform admin is the first DataDios administrator. It is created the first time DataDios starts. It lives in the platform tenant, DataDiosOpsTenant. Sign in with that email and password, and DataDiosOpsTenant as Tenant ID. If 2-step sign-in is turned on for the server, the first sign-in asks you to set it up and emails a code, so the server then needs working outbound email. The password must be at least 12 characters and is only used to create the admin. It is stored in plain text in docker-compose-<server name>.yaml, so after the first start you can delete the PLATFORM_ADMIN_PASSWORD line from that file. On Ubuntu the script makes the file readable by your user only.
Roles are on for every tenant created from now on, so on a new install they are on from the first start: each user can do only what their role allows, and only the platform admin and the built-in admin user (DATADIOS@DD.COM) can manage tenants, backups and server settings. Tenants that already exist on an older install keep their current setting when it is upgraded. The platform tenant has roles on, also on an older install after it is upgraded.
Running Datadios
Download the following file:
Bash script to start Datadios Docker containers
After downloading the file:
- Place it in the same directory as your docker-compose files (created during installation)
- Open a terminal in that directory
- Make the script executable:
chmod +x run_datadios.sh - Run the script by executing:
./run_datadios.sh
The script will start the Datadios containers using the configuration files generated in the installation step.
Verifying the Installation
Once the containers are running, verify the installation. Please note that it may take upto 5 minutes for the Datadios service to be fully up and running after running the RunDatadios.ps1 script for the first time.
- Open a web browser
- Visit
http://localhost:<PORT_NUMBER>(replace<PORT_NUMBER>with the port you configured during installation) - If https is enabled, access
https://<your-server-address/dns>
You should see the Datadios login page.
On a new installation, sign in as the built-in admin user with the password in the DD10_USER_PASSWORD line of .env (see Secrets file (.env)), without the quotes around it if it has them.
Login cookie: HTTP or HTTPS
Datadios keeps you signed in with a session cookie. A cookie marked Secure is only sent over HTTPS, so it cannot be read off an unencrypted connection. The COOKIE_SECURE setting controls this:
| Value | What it does |
|---|---|
auto (default for on-premises installs) | The cookie is Secure when you open Datadios over HTTPS, and not when you use HTTP. It works for both, so you do not need to change anything. |
true | Always Secure. Use it when Datadios is only reachable over HTTPS. Over plain HTTP, sign-in will not stick (see below). |
false | Never Secure. Only for a test setup on plain HTTP. |
You do not need to do anything after an install or an update: installs served over HTTP keep working, and installs served over HTTPS get the Secure cookie automatically.
To force a value, open the docker-compose file created during installation and find the COOKIE_SECURE line in the Datadios service's environment: list. Change it to the value you want (add the line if your file does not have one), then restart the containers:
- COOKIE_SECURE=true
If you put your own TLS proxy or load balancer in front of Datadios, make sure it sends the X-Forwarded-Proto header (in nginx: proxy_set_header X-Forwarded-Proto $scheme;) so Datadios can tell the connection is secure. If it cannot, set COOKIE_SECURE=true. With more than one proxy in front, the one closest to Datadios must pass the original value on (in nginx: proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;) instead of replacing it with its own $scheme, or Datadios will treat an HTTPS site as HTTP.
Signed in, then sent back to the login page? Your browser dropped the cookie because COOKIE_SECURE=true is set but you are using plain HTTP. Open Datadios over HTTPS (recommended), or set COOKIE_SECURE=auto. The server log also shows Login over plain HTTP with COOKIE_SECURE=true.
Monitoring Resource Usage
To check CPU, memory, and disk usage for Docker, run the following command in your terminal:
docker stats
This will display real-time resource usage for all running containers.
Stopping Datadios
Download the following file:
Bash script to stop Datadios Docker containers
After downloading the file:
- Place it in the same directory as your docker-compose files
- Open a terminal in that directory
- Make the script executable:
chmod +x stop_datadios.sh - Execute the script by running:
./stop_datadios.sh
The script will stop the Datadios containers using the configuration files generated during installation.
Secrets file (.env)
Datadios keeps its secrets in a file named .env, in the same directory as your docker-compose files. The installation script creates it, and the update script adds to it. It holds:
| Value | What it is for |
|---|---|
JWT_SECRET_KEY | Signs login sessions. Changing it signs everyone out once. |
DS_CREDENTIAL_ENCRYPTION_KEY | Encrypts the passwords of your saved data sources. Never change it: with a different value, Datadios still starts, but no saved data source can connect. |
DD10_USER_PASSWORD, SCHE_USER_PASSWORD | Passwords of the built-in admin and scheduler users. Saved in the database on the first start. Changing SCHE_USER_PASSWORD later stops scheduled jobs. |
OPENAI_API_KEY, AZURE_OPENAI_API_KEY, AWS_*, AZURE_* (optional) | AI, AWS and email features. Each one is off while its value is empty. |
Back up .env together with your DO_NOT_DELETE data directory, and keep it private: anyone who has it can read your saved data source passwords. If Datadios does not start and the log says a value is missing from .env, restore .env from that backup. Do not type a new value.
Certificate checks for the connections Datadios makes are off by default (DD_SSL_VERIFICATION, WKC_, ATLAS_, IGC_, COLLIBRA_ and LAKEHOUSE_SSL_VERIFICATION). To turn one on, add it to .env with the value TRUE, then run ./run_datadios.sh again.
Updating Datadios
Download the following file:
Bash script to update Datadios Docker image
After downloading the file:
- Place it in the same directory as your docker-compose files
- Open a terminal in that directory
- Make the script executable:
chmod +x update_datadios.sh - Run the script by executing:
./update_datadios.sh
The script does three things, in this order:
- It makes sure
.envhas every secret (see Secrets file (.env)). A value that is missing is copied from the Datadios you are running now, so your saved data sources and schedules keep working. - It adds the lines that pass those secrets to Datadios to any docker-compose file created before they existed. The old file is kept next to it with
.bakadded to its name. - It pulls the latest Datadios image from Docker Hub.
If step 1 or 2 fails, the script stops before pulling, and the running Datadios is unchanged. Once the update is complete, restart the containers using the run_datadios.sh script.
Always use this script to update. A plain docker pull skips steps 1 and 2, and the new image then does not start.
Platform admin on an existing install: an install made before the platform admin prompts has no named platform admin; only the built-in DATADIOS@DD.COM account can do platform work. To create one, add these two lines under environment: of the datadios service in your docker-compose-<server name>.yaml, then restart the containers. Use a real email and a password of at least 12 characters; write a $ in the password as $$ and a ' as ''. Set both lines or neither (one without the other stops the server at start). Without them DataDios starts as before, with DATADIOS@DD.COM doing platform work. The password is read only when the admin is first created, so you can remove that line after the first start.
The email may already be a DataDios user of another tenant: that account stays as it is, and only the new account in DataDiosOpsTenant is the platform admin. The same email can also be added to other tenants later; those accounts are ordinary users. If DataDios does not start after the restart, search the server log (DO_NOT_DELETE/logs_backup/dd_server in your data directory) for platform, ignoring letter case (the lines contain PLATFORM_ADMIN_... or platform admin); they say what was wrong with the email or password. Fix the two lines and restart.
- 'PLATFORM_ADMIN_EMAIL=admin@yourcompany.com'
- 'PLATFORM_ADMIN_PASSWORD=your-password'
Wrong platform admin email: if the email was mistyped at install, DataDios still starts and you can sign in with it, but its emails go nowhere. To fix it:
- In
docker-compose-<server name>.yaml, changePLATFORM_ADMIN_EMAILto the correct email. If you deleted thePLATFORM_ADMIN_PASSWORDline, add it back. - Restart the containers. DataDios creates a new platform admin with the correct email.
- Sign in as the new admin (Tenant ID
DataDiosOpsTenant), open Manage → Identity & access → Users, and delete the account with the wrong email.
Access for Datadios
Datadios needs access to all the data sources you will be connecting through the platform.
- If Datadios is used for migration validation, it needs access to the source and destination databases used for validation (e.g., Snowflake, Oracle, SQL Server, etc.)
- For ports, see the docker compose file (Datadios can be setup for
httporhttps)