eMondrian Community runs as a set of Docker containers: the eMondrian server, an authentication gateway with Keycloak, the OLAP Client, the Schema Editor, the Catalog Editor and — for the sample data — ClickHouse. A setup script installs Docker if needed and starts everything.
Requirements
Git
Windows 10/11 or a supported Linux distribution
Administrator / sudo rights — to install Docker and start containers
Port 80 free — or choose another port (see below)
About 4 GB free disk space; ~1.5 GB of downloads on the first run (container images, including the authentication gateway and Keycloak, and a ~26 MB sample dataset that expands to ~230 MB)
One installation per Docker host. The containers have fixed names, so a second copy on the same host can’t run beside the first. Use a separate host or virtual machine for a second installation.
If WSL 2 has to be installed or updated, Windows may need a restart. After restarting, open PowerShell in the project folder and run the same command again.
The script installs Docker if needed, downloads the OnTime sample (January 2022, ~537,000 flights), builds the authentication images, starts the containers and loads the data. The first run takes a few minutes. Re-running is safe — data that’s already imported is skipped, and settings already made are kept.
Authentication starts switched off
After setup, everyone who can reach the server gets in without logging in, with all rights. That’s meant for trying eMondrian on your own machine or a trusted network. Switch authentication on before others get access:
./auth/scripts/authentication.sh on # Linux.\auth\scripts\authentication.ps1 on # Windows
Then log in as admin with the password 0 and choose a new one. See Security.
Choose a different port
If port 80 is taken (IIS, Apache, nginx…), copy .env.example to .envbefore running the script and set:
EMONDRIAN_PORT=8081
Every address then uses that port — e.g. http://localhost:8081/xmla and http://localhost:8081/emondrian/mcp. Start from the whole of .env.example, not from a .env with only this line.
.env also switches the optional services on and off:
An .env from an earlier version keeps working: ENABLE_SERVICE_WEB_OLAP_CLIENT still switches the OLAP Client, and without its own flag the Catalog Editor follows ENABLE_SERVICE_SCHEMA_EDITOR.
Calls from web applications (CORS)
Since 2026.11.20 the authentication gateway decides which other web sites’ pages may call /xmla and /api from a browser: none by default. List the sites that must under cors.allowed_origins in auth/identity.yml and run auth/scripts/apply-config.sh; each gets its own origin back, never *. CORS_ALLOW_ORIGIN in .env no longer applies to these paths. See REST API.
Endpoints
Address
What it is
http://localhost
Main page: links to tools, installed licenses, license activation
http://localhost/xmla
XMLA endpoint for Excel, Power BI and other clients
Authentication: identity.yml (where users come from), server rights, scripts, secrets — see Security
.env
Port, public address, optional services, CORS and the installation’s secrets
docker-compose.yml, docker-compose.auth.yml
Container definitions. Both are always used together: running docker-compose.yml alone isn’t supported
Load more sample data
./clickhouse/scripts/setup-ontime.sh --year 2022 # one whole year./clickhouse/scripts/setup-ontime.sh --year 2022 --months 1,2,3./clickhouse/scripts/setup-ontime.sh --full # every year — very largedocker compose up -d
Downloaded CSV files stay in clickhouse/datasets/ontime/; delete them after import if you need the space.
Stop, start, reset
docker compose stop # stop, keep everythingdocker compose up -d # start againdocker compose restart eMondrian # restart the server after config or schema changesdocker compose down # remove containers, keep the loaded datadocker compose down -v # remove containers, the ClickHouse data and the users kept in Keycloak
The logs/ folder is written by the container as root; deleting it needs sudo.
Memory
For large result sets, give the server more memory: in docker-compose.yml, uncomment JAVA_TOOL_OPTIONS under the eMondrian service and adjust the values, e.g. -Xms2g -Xmx4g. Then docker compose up -d.
Upgrade
git pull./auth/scripts/init.sh --no-start # Linux, once; on Windows run windows-setup.ps1 insteaddocker compose pulldocker compose up -d --build --remove-orphans
--build rebuilds the authentication gateway. Without it the old gateway stays next to the new server, and every request is refused with “Forwarded identity headers are accepted only from this server’s authentication gateway”. Running the command again with --build repairs it.
When you upgrade to 2026.11.16.1, server rights move to auth/security/security.properties. If you edited auth/emondrian/mondrian.properties, follow the steps in Release notes.
When you upgrade to 2026.11.15 from an earlier release with authentication:
Write groups by their full path.emondrian-admins becomes /emondrian-admins, in auth/emondrian/mondrian.properties and in every <RoleMember> of your schemas. A plain name now grants nothing. ./auth/scripts/apply-config.sh lists the entries to change.
Create Keycloak accounts for everybody who signs in through an external identity provider before you upgrade, or they are locked out.