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.

Install

git clone https://github.com/eMondrian/emondrian-community.git
cd emondrian-community

Linux

./setup.sh

If the script has just installed Docker, your user isn’t in the docker group yet. Log out and back in (or run newgrp docker) and run the script again.

Windows (PowerShell)

powershell -ExecutionPolicy Bypass -File .\windows-setup.ps1

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 .env before 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:

ENABLE_SERVICE_EMONDRIAN=true
ENABLE_SERVICE_OLAP_CLIENT=true
ENABLE_SERVICE_SCHEMA_EDITOR=true
ENABLE_SERVICE_CATALOG_EDITOR=true

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

AddressWhat it is
http://localhostMain page: links to tools, installed licenses, license activation
http://localhost/xmlaXMLA endpoint for Excel, Power BI and other clients
http://localhost/api/v1[[clients/rest
http://localhost/emondrian/mcpMCP endpoint for AI agents (Streamable HTTP)
http://localhost/emondrian/mcp/sseMCP endpoint for older SSE clients
http://localhost/client/OLAP Client (layout builder, MDX editor, pivot table)
http://localhost/schema-editor/Schema Editor — cubes, dimensions, measures and roles of a schema
http://localhost/catalog-editor/Catalog Editor — data sources and catalogs the server publishes
http://localhost/dashboard/Dashboards an AI agent builds through MCP
http://localhost/logs/Server logs
http://localhost/auth/admin/Keycloak admin console: users and groups
http://localhost/account/tokensPersonal access tokens (with authentication on)

Project folder

PathPurpose
datasources.xmlCatalogs and database connections — see datasources.xml reference
schema/Schema files (Foodmart.xml, OnTime.xml, your own)
modules/eMondrian modules (DAX, MCP and others) and license files
logs/Server logs — see Logs
clickhouse/Sample ClickHouse data and scripts
auth/Authentication: identity.yml (where users come from), server rights, scripts, secrets — see Security
.envPort, public address, optional services, CORS and the installation’s secrets
docker-compose.yml, docker-compose.auth.ymlContainer 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 large
docker 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 everything
docker compose up -d             # start again
docker compose restart eMondrian # restart the server after config or schema changes
docker compose down              # remove containers, keep the loaded data
docker 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 instead
docker compose pull
docker 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.

The full list is in the changelog.

Next steps