Running MISP in production with misp-docker

Moving misp-docker from a lab to a production MISP instance means pinning images, separating settings from compose definitions, persisting state and securing the edge. This page explains each decision and what to confirm.

On this page

Running MISP in production with misp-docker: what changes after the test

A team with a working misp-docker lab has proven that the stack starts and that analysts can create events. A production instance is a different decision: it will hold real intelligence, serve sync partners and sit under the same security and change controls as every other system. The lab is not the production design. This page covers what has to change: pinned image tags, the split between the .env file and docker-compose.yml, persistent volumes for configuration, logs, files and GnuPG keys, TLS certificates, the separate NGINX container and Redis passwords.

MISP is an open source platform for collecting, storing, distributing and sharing cyber security indicators. It is written in PHP on CakePHP and uses MySQL or MariaDB and Redis, and it is licensed under the GNU Affero General Public License version 3 (AGPL version 3). MISP 2.5 is the recommended line for new deployments, and MISP 2.4 is end of life with security fixes only, so a new instance should not start there. The project lists several installation options, including Docker images, Ansible roles, Puppet and RPM packages, so Docker is one path among others and the choice should follow your platform standards and operating model.

Confirm three things before you copy the lab into production. First, check the current MISP 2.5 release notes and the project's download guidance, since release-level changes can affect how containers are built and upgraded. Second, confirm with your own security and platform teams where secrets, certificates and volumes will live and who owns them. Third, confirm the support position you need from the project or a commercial provider. The sections that follow take these areas in order, from image pinning through persistence, TLS and Redis.

Configuration choices in misp-docker and when each fits

This table compares the misp-docker configuration choices that most often stay at test defaults: image tags, the .env file, compose overrides, volumes, the NGINX container, TLS and Redis passwords. Read each row for its purpose, the production risk if it is left alone, and what to confirm in the current misp-docker documentation before go-live. The main takeaway is that most of these settings must be decided before the instance holds real data.

Configuration choicePurposeProduction risk if left at test defaultWhat to confirm in current misp-docker docs
Pinned image tagsFix the exact MISP and supporting image versions so rebuilds produce the same softwareUncontrolled upgrades when images are pulled again, with no planned change windowWhich tags the project publishes for MISP 2.5, and whether the tag scheme changes between releases
The .env fileHolds environment-level settings such as base URL, admin details, database and Redis valuesSecrets and hostnames left in a shared or versioned file, or defaults carried into productionEvery variable the release reads, which ones are mandatory, and which must be changed before first start
docker-compose.yml overridesSite-specific changes kept in an override file so the upstream compose file can be updated cleanlyEdits made directly to the upstream file that are lost or conflict on the next pullThe recommended override mechanism and which services can be changed without breaking the topology
Persistent volumes for configKeeps MISP configuration and settings across container recreationSettings reset or drift when containers are rebuilt, or config is lost with the containerWhich config paths are mounted by default and how they map to MISP settings
Persistent volumes for logsRetains application and worker logs for troubleshooting and auditLogs vanish on restart, leaving no record for incident investigationLog paths, rotation behaviour and whether logs are shipped to an external collector
Persistent volumes for filesStores attachments and uploaded samples outside the container layerData loss on container recreation, and disk filling on the host without monitoringAttachment path, storage growth expectations and whether the project advises slower storage for these directories
Persistent volumes for GnuPG keysKeeps the GnuPG keyring used for signing and encrypted exchangeKeys regenerated on rebuild, breaking signatures and trust with partnersKey directory path, backup procedure and the project guidance on key generation at first start
Separate NGINX containerTerminates web traffic in front of the MISP application containerDefault plain HTTP exposure, or a proxy whose TLS and header settings were never reviewedHow the NGINX service is wired to the core container and where certificates and headers are configured
TLS certificate placementProvides the certificates the NGINX container presents to users and sync partnersSelf-signed or expired certificates, or private keys stored inside the imageExpected certificate file names, mount points, and the custom root CA steps for outbound feeds and sync
Redis password settingsProtects the Redis service used for caching and background job coordinationRedis reachable without authentication on the internal networkWhether the release enables Redis authentication by default and which variables set the password for every consumer

How to prepare misp-docker for production in order

Work through these steps in order on a test host before any real data goes in. Each step changes one part of the misp-docker stack and ends with a check you can repeat, so the final restart test shows that configuration, files and keys survive a container rebuild.

  1. Pin the image tags to one MISP 2.5 release

    The platform team edits the compose file so every MISP image, including the core, modules and supporting containers, points to one explicit 2.5 release. Avoid floating tags such as latest. MISP 2.5 is the line the project recommends for new deployments, and 2.5.50 was released on 9 October 2026. Confirm that the tags you choose exist in the misp-docker project and match the MISP release you intend to run. Check: run docker compose config and confirm every image reference resolves to the same pinned version.

  2. Move secrets and hostnames into the env file

    The operator moves hostnames, the public base URL, database passwords, admin credentials and the encryption salt out of docker-compose.yml and into the .env file. The compose file can then be reviewed and version controlled without holding secrets. Generate long random values for every password, set the salt once and never change it later, and restrict the .env file to the operator account. Check: search the compose file for literal passwords or hostnames and confirm that every match is a variable reference such as ${DB_PASSWORD}.

  3. Define named volumes for persistent state

    The operator maps the directories that hold configuration, logs, attachments, files and the GnuPG keyring to named Docker volumes, so the data outlives the containers. Database and Redis data also need persistent storage on the host. Record each volume name with the host path that backs it in the runbook. Confirm the exact directory list against the misp-docker documentation for your tag, since paths can change between releases. Check: run docker volume inspect on each volume and confirm its mountpoint sits on a disk your backup job covers.

  4. Mount certificates and the trust chain

    The operator places the server certificate, its private key and any intermediate chain on the host with restrictive file permissions, then mounts them read-only into the NGINX container. Private keys stay out of images and out of the compose file. If sync partners or feeds use an internal certificate authority, add that root certificate to the trust store that the MISP containers read, so outbound connections validate. Check: from inside the NGINX container, confirm the chain validates for the public hostname, and from the MISP core container, confirm an HTTPS request to an internal feed succeeds.

  5. Configure the NGINX front end

    The operator makes the NGINX container the only published entry point, listening on port 443 and redirecting plain HTTP. The public base URL in the env file must match the hostname on the certificate. NGINX should forward the client address and protocol headers that MISP needs for logging and generated links, and its request size limit should allow the attachment uploads your analysts expect. Confirm the limit against your own test uploads. Check: open the MISP login page over HTTPS, confirm the certificate matches the hostname, and confirm the core container publishes no port to the host.

  6. Set Redis authentication and restrict access

    The operator turns on a Redis password, sets it through the env file and confirms that every MISP container receives the same value. Redis stays on the internal compose network with no published host port, because workers and the cache depend on it. Restart the stack after the change so each container reads the new setting. Check: from a MISP container, run a Redis ping without the password and confirm it is refused, then run the same ping with the password and confirm it succeeds.

  7. Run a restart test to prove persistence

    The operator creates a test event, a test attachment and a test user with a known setting. Then the stack is stopped and recreated with docker compose down followed by docker compose up -d. Do not add the -v flag, because it removes named volumes. Confirm the test items, the GnuPG keys and the configuration values are still present and that the image versions have not changed. Repeat the test after a full host reboot. Check: the test event loads, the attachment downloads, and the image references match the values recorded before the restart. Remove the test data only after these checks pass.

How the misp-docker containers and volumes connect

The diagram starts with analysts and sync partners reaching the NGINX container over TLS, the only service published outside the host. NGINX forwards requests to the MISP core container, which talks to Redis and the external database on the internal network. Named volumes for config, logs, files and GnuPG keys sit behind the core container, so check that each one persists across container rebuilds and that the database and Redis are reachable only from inside the trust boundary.

Published edge and internal services in misp-docker, with persistent volumes.

Security controls for a production misp-docker stack

A misp-docker stack holds threat intelligence, credentials and signing keys, so its defaults need deliberate review before real data arrives. The six controls below cover secrets, transport, exposure, key material, logging and version tracking, and each one maps to a setting or volume your team can inspect.

Replace default and Redis credentials

Check that every administrator password, API key and the Redis password in your .env file were generated for this deployment and not copied from examples. Redis is a backend service, but a shared or empty password still lets other containers on the same network reach its data. Store the values in your secrets manager, restrict who can read the .env file, and record the rotation owner and procedure before go-live.

Manage TLS certificates and key permissions

Confirm which certificate and private key the NGINX container loads, where they are mounted from, and that the key file is readable only by the account that needs it. Keep the private key out of the image and out of version control. Ask who renews the certificate, how renewal reloads the proxy, and what happens to sync partners that pin or trust your CA.

Restrict published ports

Only the HTTPS port of the NGINX container should face users or partners. Review the ports entries in docker-compose.yml and remove any mapping that exposes the database, Redis or the internal application port to the host or network. Confirm firewall rules match that intent, because a published port on a Docker host can bypass rules you assume are in place.

Protect the GnuPG keys volume

The GnuPG volume holds keys used to sign and verify MISP content, so treat it as sensitive material. Limit host access to the volume path, include it in encrypted backups, and restrict who can run commands that read or export keys. Test a restore on a separate host so you know the keys come back with correct ownership and permissions.

Set log retention and access

Decide how long web, application and worker logs stay on the host and who can read them. Logs can contain user names, API activity and indicator searches, so access should follow the same rules as the data itself. Configure rotation or export to your central log platform, and confirm the retention period with your compliance team before the first production sync.

Track advisories when pinning and upgrading

Pin image tags to specific MISP versions, then subscribe to the project's releases and security notices before each upgrade cycle. Read the release notes for database migration or configuration changes, because a tag that is not updated stops receiving fixes. Record which version runs in each environment so you can answer advisory questions quickly.

MISP releases

Pinned tags, upgrades and rollback for MISP containers

For a new deployment, start on the MISP 2.5 line. The project recommends 2.5 for new deployments, and its download page recommends MISP 2.5 on Ubuntu 24.04 with the provided installer, with Docker images listed as one of several installation options. Choose the exact image tag you intend to run and record it in your configuration management, rather than letting the deployment follow whatever tag is newest. Recent 2.5 releases include 2.5.50, released on 9 October 2026, so confirm the current tag on the releases page before you build.

  • Pin the full tag: Reference an exact version in the compose file so a restart or pull cannot change the running version silently.
  • Record the chosen version: Keep the version, the date and the approver in your change record so auditors can trace what ran at each point.
  • Plan for the 2.5.47 migration system: Version 2.5.47 introduced a new database migration system with PostgreSQL support, so check which database backend your team has chosen before you start.
  • Confirm the release notes: Read the notes for the tag you pin, including any settings that change on first start.
  • Schedule the first upgrade early: Decide now who approves future tag changes and how often you will review them.

Before you load real data, confirm that your chosen tag, database backend and volume layout all match the test you ran.

Limits to confirm before you rely on misp-docker

The misp-docker project moves quickly, and several of its settings depend on choices your organization has not made yet. The items below are the points we would confirm with the project and in your own environment before any real intelligence lands on the instance.

Current image tags and configuration keys

Confirm which image tags the misp-docker repository currently publishes and which keys its .env template still reads. A tag that worked in a test may be superseded, and renamed or removed keys can silently fall back to defaults. Ask the project which tag it recommends for new deployments, then pin that exact tag in your compose file and record the version you tested. Re-check the list at every upgrade window.

MISP repository

Database engine against the release notes

Check that the database engine your deployment uses is the one the release notes describe for your MISP version. Recent MISP 2.5 releases introduced a new database migration system with PostgreSQL support, so the supported engine, migration steps and any caveats may differ from the MariaDB examples you find elsewhere. Ask whether the misp-docker build you chose targets that engine, and do not mix engines in a live migration without a tested rollback.

MISP releases

Sync partner access through the proxy

Sync partners and feed sources reach your instance through the proxy, so the proxy must pass their API traffic with the headers and paths MISP expects. Test a sync from a partner instance before go-live, and confirm that the public BASE_URL matches the address partners use. Also confirm how outbound feeds and sync partners with private certificate authorities will trust your proxy and your MISP server.

Storage growth for attachments

Attachments and malware samples grow faster than event metadata, and they sit on the same volumes as your configuration, logs and GnuPG keys unless you separate them. Ask the project which directories it recommends for slower storage, and estimate growth from your expected sample volume and retention rules. Set disk alerts well below full, and confirm how a restore handles the attachment volume, since a backup that omits it leaves events without their files.

Topology against your availability target

The published misp-docker topology runs a small set of containers on a single host unless you change it. Compare that layout with the uptime and recovery time your organization has committed to, including how long analysts can work without the instance and how sync partners behave during an outage. Ask the project whether it supports the replicated layout you need, and plan for backups of the database, Redis state and volumes outside the host.

Questions teams ask before running misp-docker in production

Can our team run misp-docker in production without outside help?

Yes, if you already operate container hosts, a reverse proxy and a database in production and have someone who can own upgrades and backups. The harder part is not the first docker compose up but the ongoing work: pinning image tags, tracking MISP security releases, testing upgrades before they reach the live instance, and keeping the TLS certificates, GnuPG keys and Redis passwords in a state you can restore. Ask whether your team has that routine for other services. If it does not, the gap is ownership rather than technical skill, and a partner can help close it. Confirm the current MISP release line on the MISP download page before you pick a tag, because MISP 2.4 is end of life and the project advises against new 2.4 instances.

What actually drives the effort of a production misp-docker build?

The effort follows the number of decisions you have to make and document. The main ones are the image tag policy, which .env values become secrets managed outside the repository, which directories sit on persistent volumes, how the NGINX container terminates TLS, and how Redis authentication is configured for every service that uses it. Scale matters too: a sharing hub with many sync partners and large feeds needs more capacity planning than an internal analyst instance. Identity integration, backup testing and restore drills add scope if they are part of the agreed work. A written scope that lists these items is the best way to compare an internal estimate with a quote.

What do we need to provide before work starts?

Most of the work depends on access and decisions from your side. Expect to provide the target infrastructure, such as container hosts or a Kubernetes cluster and the storage behind persistent volumes, along with network rules for inbound HTTPS and outbound feed and sync traffic. You will need the DNS names MISP will use, because the public base URL must match what users and sync partners reach. Certificates must come from your certificate authority or a public issuer you approve, and any custom root CA needed for outbound feeds has to be available to the containers. For identity, provide the OpenID Connect or directory details and the role mapping you want. Named owners for approvals, secrets storage and on-call response are also needed before go-live.

How long does a misp-docker production project take?

Duration depends on scope and on how quickly your side makes decisions, not on a fixed template. A single instance with standard TLS, persistent volumes and documented backups is a much smaller job than a hub with identity integration, sync partners, custom feeds and restore testing. Delays most often come from waiting on certificates, DNS changes, identity provider configuration and change approvals in your own environment, so ask a partner to show which tasks depend on your teams. Ask for a timeline tied to written milestones and deliverables, and check whether it includes a test restore and an upgrade rehearsal. No duration is promised here; the agreed scope sets it.

Does DeployOpen issue audit reports or certifications for our MISP instance?

No. DeployOpen does not issue audit reports, attestations or certifications. It can plan and build the systems, access controls, logging, backup and documentation that your compliance team or an independent auditor will review, and it can prepare the evidence for that assessment. Independent auditors and certification bodies perform the assessment and issue any report. If your organization needs formal assurance for a sharing program, ask the auditor you plan to use which evidence they expect, then agree in writing which parts DeployOpen will prepare.

What does ongoing MISP support cost, and what changes the price?

Ongoing support is a recurring cost, separate from the one-time build. Support usually covers upgrades within the chosen release line, security patch application, monitoring, backup verification, configuration changes and incident response. The main drivers are the number of instances, how many sync partners and feeds you run, how often you need upgrades tested, and the response times you require. The MISP project offers paid support services and notes that a number of third-party providers offer commercial support, so compare options on the same written scope. DeployOpen offers ongoing support and continuous testing as retainers, and quotes follow from the written scope rather than a published price list.

When is a partner worth it instead of an in-house build?

A partner is most useful when the first build is only part of the risk. It can make sense if your team lacks container or database operations experience, has no capacity for upgrade testing, needs to meet a tight review deadline, or must integrate MISP with identity, SIEM and sync partners at once. It is less compelling if you already run similar stacks well and only need one instance with simple settings. A practical test is whether your team can restore the instance from backup, apply a planned upgrade and rotate the Redis password without an outage. If those tasks are uncertain, ask for a fixed-scope proposal and compare it with the cost of learning them in production.

How DeployOpen scopes and delivers MISP on misp-docker

DeployOpen plans and implements self-hosted MISP on misp-docker inside infrastructure the client controls. Work starts with a written scope covering image pinning, persistent volumes, TLS, the NGINX container and Redis access, so the deployment can be reviewed by the client's security and compliance teams before it holds real intelligence.

How we scope

  • Written scope lists the hosts, container runtime, MISP version and image tags to be pinned before work begins.
  • Scope maps each persistent volume for config, logs, files and GnuPG keys to the storage and backup owner.
  • Scope confirms TLS certificate sources, the NGINX container role and the Redis password approach with your team.
  • Engagements are fixed-scope, so deliverables and timelines are agreed in writing before any build starts.

How we build

  • Environment files and compose definitions are separated so secrets stay out of version-controlled configuration.
  • Volumes are mounted and tested for ownership, permissions and survival across container restarts and image upgrades.
  • TLS and the separate NGINX container are configured and checked against the BASE_URL and sync partner traffic paths.
  • Each pinned image tag and Redis authentication setting is verified in a staging copy before production cutover.

How we hand over

  • Documentation records the pinned versions, environment variables, volume layout and certificate renewal steps for your operators.
  • Runbooks cover backup of the GnuPG keys and files volume, plus the steps for a controlled image upgrade.
  • Handover includes a review session where your security and platform teams can question each configuration decision.
  • Test results and the configuration baseline are delivered so your auditors can trace how the deployment was set up.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Retainers can cover planned MISP version upgrades, including the move to the 2.5 line when your current release needs it.
  • Security testing of the deployed instance, including retests after fixes, can be added to a support arrangement.
  • Ask for the retainer scope, response expectations and upgrade responsibilities in writing before you sign.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.