With Docker Compose
For Linux and MacOS users, run this script to create a./packmind folder with a Docker Compose setup inside:
docker compose pull && docker compose up -d.
With Helm on Kubernetes
Get started on the Helm Chart GitHub repository to deploy Packmind on Kubernetes.Connect your LLM (Optional but important)
Connecting a LLM offers a better experience when distributing your standards and commands in your Git Repositories, while it’s not mandatory and you can use Packmind without this. OpenAI is the only currently supported AI Provider. If you use Docker Compose, you’ll have to update thedocker-compose.yml file.
Add custom CA certificates (Docker Compose)
If your infrastructure uses self-signed certificates or custom Certificate Authorities (CA), you can configure Packmind to trust them:-
Create a
certsdirectory next to yourdocker-compose.yml: -
Place your CA certificate(s) in PEM format as
certs/ca-bundle.pem: -
Edit
docker-compose.ymland uncomment the certificate lines in bothapiandmcp-serverservices: -
Restart the services:
Configure deployment and environment variables
Override environment variables
With Docker Compose
You can override bothapi and mcp sections of the docker-compose.yaml file.
Here is an example of how to add the SMTP_FROM variable to Docker Compose.
With Helm Chart
Follow the instructions on the Helm Chart GitHub repository on how the YAML values file.List of Environment variables
Database Configuration:DATABASE_URL️ - PostgreSQL database connection URL used by the API, TypeORM migrations, and data sources
APP_WEB_URL- Base URL of the web application, used for generating links in password reset and invitation emailsCORS_ORIGINS- Comma-separated list of allowed origins for CORS (Cross-Origin Resource Sharing) configuration
REDIS_URI- Full Redis connection URI used for caching and SSE (Server-Sent Events) client connections
SMTP_HOST- SMTP server hostname for sending emailsSMTP_PORT- SMTP server port numberSMTP_SECURE- Whether to use secure connection (TLS/SSL) for SMTPSMTP_USER- Username for SMTP authenticationSMTP_PASSWORD- Password for SMTP authenticationSMTP_FROM- Default sender email address for outgoing emailsSMTP_IS_EXCHANGE_SERVER- Flag indicating if the SMTP server is a Microsoft Exchange server
JWT_SECRET- Secret key used for signing and verifying JWT tokens for authenticationENCRYPTION_KEY- Key used for encrypting sensitive data like password reset tokens, invitations, and git provider credentialsMAX_LOGIN_ATTEMPTS- Maximum number of failed login attempts before rate limiting is triggered (defaults to a configured value if not set)LOGIN_BAN_TIME_SECONDS- Duration (in seconds) for which user will not be allow to try to login again.
OPENAI_API_KEY- API key for accessing OpenAI services for customizing standards and commands for AI Agents.
RATE_LIMIT_MAX_REQUESTS- Maximum number of requests allowed within the rate limit time window (defaults to 100)RATE_LIMIT_TIME_WINDOW- Time window in milliseconds for rate limiting (defaults to 60000ms / 1 minute)
PACKMIND_LOG_LEVEL- Log level for Packmind logger (e.g., ‘debug’, ‘info’, ‘warn’, ‘error’)