Back to Home
Mng-dev-ai icon

claudex

by Mng-dev-ai

Overview

Self-hosted full-stack AI chat interface with sandboxed code execution for AI agents, featuring multiple AI providers and development tools.

Installation

Run Command
docker compose up -d

Environment Variables

  • POSTGRES_USER
  • POSTGRES_PASSWORD
  • POSTGRES_DB
  • REDIS_URL
  • SECRET_KEY
  • DATABASE_URL
  • ANTHROPIC_API_KEY
  • Z_AI_API_KEY
  • OPENROUTER_API_KEY
  • ENVIRONMENT
  • DOCKER_IMAGE
  • DOCKER_NETWORK
  • DOCKER_HOST
  • DOCKER_SANDBOX_DOMAIN
  • DOCKER_TRAEFIK_NETWORK
  • E2B_API_KEY
  • MODAL_API_KEY
  • FRONTEND_URL
  • MAIL_SERVER
  • MAIL_PASSWORD

Security Notes

The `api` and `celery-worker` services in `docker-compose.yml` are configured with `privileged: true` and mount `/var/run/docker.sock`. This grants these containers full root access and control over the host's Docker daemon. If these containers are compromised, an attacker could gain root access to the host machine. This is a critical security vulnerability for production or untrusted environments. The default `SECRET_KEY` is explicitly for development only and must be changed. Sensitive user API keys (e.g., E2B, Modal, Anthropic) are stored encrypted in the database, which is good practice.

Similar Servers

Stats

Interest Score94
Security Score3
Cost ClassHigh
Avg Tokens50000
Stars163
Forks32
Last Update2026-01-17

Tags

AI AgentSandboxCode UISelf-hostedFastAPIReactDocker