Skip to content

Installation

The fastest way to run archmax is with Docker Compose. This starts archmax with dedicated MongoDB and Redis services, which is the recommended setup for production use:

Terminal window
git clone https://github.com/archmaxai/archmax.git
cd archmax
cp .env.example .env

Edit .env and set the required values:

Terminal window
BETTER_AUTH_SECRET=$(openssl rand -base64 32)
UI_USERNAME=admin
UI_PASSWORD=your-secure-password
AGENT_API_KEY=your-api-key

Then start the stack:

Terminal window
docker compose up -d

Open http://localhost:8080 and log in with the username and password you configured (UI_USERNAME / UI_PASSWORD). The default username is admin.

Run archmax as a single container with no external dependencies. MongoDB and Redis are embedded in the image and start automatically:

Terminal window
docker run -d \
--name archmax \
-p 8080:8080 \
-e BETTER_AUTH_SECRET=$(openssl rand -base64 32) \
-e UI_USERNAME=admin \
-e UI_PASSWORD=changeme \
-e AGENT_API_KEY=your-api-key \
-v ~/.archmax:/data \
ghcr.io/archmaxai/archmax:latest

Open http://localhost:8080 and log in with username admin and the password you set.

  • Docker Compose is recommended for production and long-term use. It separates MongoDB and Redis into their own containers, making backups, monitoring, and upgrades easier. You can also swap in a managed MongoDB service (Atlas, DocumentDB).
  • Standalone Docker is ideal for quick evaluation, demos, or simple single-user setups. Everything runs in one container with zero external dependencies.

For contributing or local development, see the Development Setup guide.