Installation
Docker Compose (Recommended)
Section titled “Docker Compose (Recommended)”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:
git clone https://github.com/archmaxai/archmax.gitcd archmaxcp .env.example .envEdit .env and set the required values:
BETTER_AUTH_SECRET=$(openssl rand -base64 32)UI_USERNAME=adminUI_PASSWORD=your-secure-passwordAGENT_API_KEY=your-api-keyThen start the stack:
docker compose up -dOpen http://localhost:8080 and log in with the username and password you configured (UI_USERNAME / UI_PASSWORD). The default username is admin.
Standalone Docker
Section titled “Standalone Docker”Run archmax as a single container with no external dependencies. MongoDB and Redis are embedded in the image and start automatically:
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:latestOpen http://localhost:8080 and log in with username admin and the password you set.
When to use which mode?
Section titled “When to use which mode?”- 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.
Local Development
Section titled “Local Development”For contributing or local development, see the Development Setup guide.
Next Steps
Section titled “Next Steps”- See the full Configuration reference for all environment variables
- Read the Docker Reference for volumes, entrypoint behavior, and troubleshooting
- Check the Self-Hosting Guide for backup, upgrade, and production tips