LogoLogo
Packmind CloudChangelogGet supportJoin Slack
  • 👋Welcome!
  • 🪐Manage spaces
  • 🔐Security and data
  • 🐞Troubleshooting guides
  • 🚀First steps
    • Enable and configure AI
    • Connect your Git platform
  • 📥Capture your coding practices
    • How to create coding practices
    • Review practices in the Inbox
  • 🔍Enforce practices in your code
    • Setup practices detection with the AI Agent
    • Packmind CLI
      • Run with NPM
      • Run with Docker
      • SonarQube Integration
      • Run in Gitlab CI
  • Coding Assistants Integration
  • 👩‍💻Plugins & Integrations
    • IDE Plugins
      • 🚀Packmind's IDE plugins use cases
      • Visual Studio Code
      • Visual Studio
      • JetBrains IDEs
      • Eclipse
      • Xcode
      • Packmind Tech Coach
    • 🔔Get notifications
  • 📖Best practices management
    • Manage your practices
      • Import, copy and export practices
      • Use categories to organize your practices
      • Manage duplications of practices
      • Move all practices from a space to another space
      • Styling with Markdown
      • Multi-file examples on coding practices
    • 📰Scheduler to push practices
  • ↔️API Reference
    • Authentication
    • Documentation
  • ⚙️Account & Settings
    • 👩‍💼Manage users
    • 💵Subscription and Billing
    • 🔓Single Sign-On (SSO) in Packmind
      • Enable SSO for Packmind Cloud
      • Enable SSO for Packmind Self-Hosted
  • 🏠On-Premise version
    • Release notes - Self-Hosted versions
    • Install the Self-Hosted version
      • Migrate from a legacy setup (Mongo 2.x)
    • Connect a SMTP server
    • Authentication
      • Authentication with OpenLDAP
      • Authentication by SSO
      • Authentication with Active Directory
Powered by GitBook
On this page
  • Using Kubernetes (Recommended)
  • Using Docker Compose
  • Deploy offline
  • Configure the public URL
  • Configure the license

Was this helpful?

  1. On-Premise version

Install the Self-Hosted version

Check out how to deploy Packmind Locally

PreviousRelease notes - Self-Hosted versionsNextMigrate from a legacy setup (Mongo 2.x)

Last updated 15 days ago

Was this helpful?

The self-hosted can run offline and aims to meet your security requirements.

Using Kubernetes (Recommended)

Check our Helm Chart guide if you plan to deploy Packmind on Kubernetes:

Using Docker Compose

If you'd rather install it locally or on a server, you can do so with Docker Compose.

This is not recommended for a deployment at scale. Contact us to see how it can fit your context.

Here is a basic docker-compose.yaml file:

version: '3'

services:
  packmind-proxy:
    image: packmind/packmind-proxy:latest
    depends_on:
      - packmind-api
      - packmind-detection
    ports:
      - 3001:3001

  packmind-api:
    depends_on:
      - mongodb
    image: packmind/packmind-api:latest
    environment:
      # Set other variables here
      - PACKMINDURL=http://localhost:3001
      - MONGO_URI=mongodb://mongodb:27017/packmind
      - AI_AGENT_REMOTE_URL=http://packmind-ai-agent:8080

  packmind-detection:
    image: packmind/packmind-detection:latest
    depends_on:
      - mongodb
      - packmind-api
    environment:
      - MONGO_URI=mongodb://mongodb:27017/packmind
      - AI_AGENT_REMOTE_URL=http://packmind-ai-agent:8080

  packmind-ai-agent:
    image: packmind/packmind-aiagent:latest
    depends_on:
      - mongodb
      - redis
    environment:
      - MONGO_URI=mongodb://mongodb:27017/packmind
      - REDIS_HOST=redis
      - REDIS_PORT=6379

  redis:
    image: redis:7.4.0
    container_name: redis-agent

  mongodb:
    image: mongo:6.0.7
    volumes:
      - ./db:/data/db

Then, can you start the whole stack with:

$> docker-compose up -d

Deploy offline

If you run Promyze in an airgap environment, we recommend that you indicate it with the environment variable OFFLINE_MODE=true during the first start in the container api.

Indeed, by default, Packmind activates a Freemium version but will connect with our license server to see if a new license is valid. Once you get a regular license from Packmind, this environment variable won't be useful anymore.

Configure the public URL

This part is crucial to ensure that plugins will work correctly. At the first start of Packmind, you'll be asked to input Packmind's public URL.

If the URL evolves in the future, you'll have to update it in Settings -> Configuration.

A change in the URL will impact all the current API keys, they'll have to be re-generated and retrieved from the UI for each user.

Configure the license

In the Administration -> License menu, you'll find info on your licensing.

If you've purchased Packmind or asked for a freemium extension, you'll be asked for your Packmind Serial Number. It can be obtained at the bottom of the License page. Just send this information to our so that we can send you a valid license key.

🏠
support team
GitHub - PackmindHub/packmind-helm-chart: Deploy Packmind Helm Chart on KubernetesGitHub
Logo