system-adminUpdated 2026-04-17

Deploy Locally

Terminal — `docker compose ps` showing all services healthy.

What this covers

Detailed configuration reference for a local Docker Compose deployment. This complements the guided install article in Getting Started. It covers environment variable configuration, volume management, resource requirements, and debug logging.

Requirements

Starting and stopping

# Start all services in the background
docker compose up -d

# Check service status
docker compose ps

# Stream logs for a specific service
docker compose logs -f query-router

# Stop all services (data volumes preserved)
docker compose down

Persistent data

Tessallite uses one named volume: tessallite_pgdata — stores workspace metadata, model definitions, aggregate build history, and the query miss log.

This volume persists across docker compose down and docker compose up cycles. To delete it and all Tessallite data, use docker compose down -v. See the Teardown article for details.

Environment variable configuration

Create a .env file in the same directory as docker-compose.yml. Docker Compose reads this file automatically.

DB_HOST=postgres
DB_PORT=5432
DB_NAME=tessallite
DB_USER=tessallite
DB_PASS=changeme
ADMIN_USER=admin
ADMIN_PASS=changeme
SESSION_SECRET=your-random-secret-here

Never commit .env to source control. Add it to .gitignore. Change DB_PASS, ADMIN_PASS, and SESSION_SECRET from the example values before running in any shared environment.

Environment variable reference

VariableServiceRequiredDefaultDescription
DB_HOSTAll except gatewayYespostgresHostname of internal PostgreSQL.
DB_PORTAll except gatewayNo5432Port of internal PostgreSQL.
DB_NAMEAll except gatewayNotessalliteDatabase name.
DB_USERAll except gatewayYesPostgreSQL username.
DB_PASSAll except gatewayYesPostgreSQL password.
ADMIN_USERfrontendYesSystem Admin username for the web UI.
ADMIN_PASSfrontendYesSystem Admin password.
SESSION_SECRETfrontendYesRandom string for session signing. Min 32 chars. No default.
GATEWAY_PORT_JDBCgatewayNo5433Host port for the JDBC listener.
GATEWAY_PORT_XMLAgatewayNo8080Host port for the XMLA listener.
FRONTEND_PORTfrontendNo3000Host port for the web UI.
OPTIMIZER_SCORE_THRESHOLDoptimizerNo50Minimum ROI score to surface a recommendation.
SCHEDULER_MAX_CONCURRENTschedulerNo3Max parallel aggregate builds.
LOG_LEVELAllNoinfoOne of: debug, info, warn, error.

Enabling debug logging

LOG_LEVEL=debug

Add this to your .env file. Debug output is high volume — use it for short-duration troubleshooting only.

Related