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 choice | Purpose | Production risk if left at test default | What to confirm in current misp-docker docs |
|---|---|---|---|
| Pinned image tags | Fix the exact MISP and supporting image versions so rebuilds produce the same software | Uncontrolled upgrades when images are pulled again, with no planned change window | Which tags the project publishes for MISP 2.5, and whether the tag scheme changes between releases |
| The .env file | Holds environment-level settings such as base URL, admin details, database and Redis values | Secrets and hostnames left in a shared or versioned file, or defaults carried into production | Every variable the release reads, which ones are mandatory, and which must be changed before first start |
| docker-compose.yml overrides | Site-specific changes kept in an override file so the upstream compose file can be updated cleanly | Edits made directly to the upstream file that are lost or conflict on the next pull | The recommended override mechanism and which services can be changed without breaking the topology |
| Persistent volumes for config | Keeps MISP configuration and settings across container recreation | Settings reset or drift when containers are rebuilt, or config is lost with the container | Which config paths are mounted by default and how they map to MISP settings |
| Persistent volumes for logs | Retains application and worker logs for troubleshooting and audit | Logs vanish on restart, leaving no record for incident investigation | Log paths, rotation behaviour and whether logs are shipped to an external collector |
| Persistent volumes for files | Stores attachments and uploaded samples outside the container layer | Data loss on container recreation, and disk filling on the host without monitoring | Attachment path, storage growth expectations and whether the project advises slower storage for these directories |
| Persistent volumes for GnuPG keys | Keeps the GnuPG keyring used for signing and encrypted exchange | Keys regenerated on rebuild, breaking signatures and trust with partners | Key directory path, backup procedure and the project guidance on key generation at first start |
| Separate NGINX container | Terminates web traffic in front of the MISP application container | Default plain HTTP exposure, or a proxy whose TLS and header settings were never reviewed | How the NGINX service is wired to the core container and where certificates and headers are configured |
| TLS certificate placement | Provides the certificates the NGINX container presents to users and sync partners | Self-signed or expired certificates, or private keys stored inside the image | Expected certificate file names, mount points, and the custom root CA steps for outbound feeds and sync |
| Redis password settings | Protects the Redis service used for caching and background job coordination | Redis reachable without authentication on the internal network | Whether 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.
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 configand confirm every image reference resolves to the same pinned version.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.ymland into the.envfile. 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.envfile 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}.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 inspecton each volume and confirm its mountpoint sits on a disk your backup job covers.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.
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.
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.
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 downfollowed bydocker compose up -d. Do not add the-vflag, 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 releasesPinned 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.
An existing MISP 2.4 instance needs a planned move, not a routine patch. MISP 2.4 is end of life and receives security fixes only, and the project strongly advises against installing new 2.4 instances. The download page also provides an upgrade script for Ubuntu, which is the project's own starting point for moving native installs. If your 2.4 instance runs in containers, treat the move to 2.5 as a migration project with its own test environment, cutover window and rollback plan.
- Stand up a parallel 2.5 instance: Build the new environment beside the old one and import a copy of the data, so the current service stays available while you test.
- Use the project's upgrade path: Where the project supplies a script for your platform, test it on a copy of production data before you rely on it.
- Review the sync and integration settings: Check feeds, sync partners, API keys and any tools that call the instance, since their expectations may change between versions.
- Set an end date for 2.4: Name the date by which the old instance is switched off, and do not keep it running as a fallback indefinitely.
- Confirm the approach with the project and your vendor: If a commercial or community partner supports your deployment, confirm in writing which upgrade path they will support.
Before cutover, confirm that every integration has been tested against the 2.5 instance and that the old instance can be restored from a verified backup.
Within the 2.5 line, routine patch upgrades change the tag to a later patch release. Pinned tags make this step deliberate: you pull a known new version, test it, and then update the running configuration. Patch releases can still include database migrations, configuration changes or new dependencies, so a patch is not automatically harmless. Keep a regular review cycle that reads each release note, decides whether the update is needed, and sets a date for applying it.
- Read every release note: Look for security fixes, database migration notes, changed settings and removed features before you change a tag.
- Back up before changing the tag: Take a database backup and a copy of the persistent volumes, and confirm you can restore them.
- Change one tag at a time: Move from the current version to the next tested version, rather than jumping several releases in one step.
- Watch the first start: Check logs for migration messages, errors and worker problems after the container restarts.
- Record the outcome: Note the date, the old and new tags and any issues, so the next upgrade starts from a clear history.
After each patch, confirm that logins, feeds, sync and scheduled jobs all work before you close the change.
Test every tag change on a copy that resembles production before it touches the live instance. The copy should use the same image, database backend, configuration file, volume layout and integrations as the real system, but with sync and outbound connections disabled or pointed at test endpoints, so that the test does not send data to partners. Testing confirms that the new version starts, migrates the data and works with your authentication and reverse proxy setup. The exact checks depend on your environment, so write them down before the test.
- Restore a recent backup into the test stack: Use real data volumes, restored into an isolated network, to surface migration problems early.
- Check migration output: Confirm the migration completes without errors and that the database version and application version agree.
- Exercise the integrations: Test authentication, API calls, feed updates, sync connections and any tools that read MISP output.
- Run correlation and background jobs: Confirm that workers process events and that scheduled tasks finish normally.
- Document the result: Keep a signed test record that names the tag, the tester and the approver.
Only move the production tag when the test record is complete and the rollback steps have been checked.
A rollback plan is only useful if it has been written and tested before the upgrade. Changing the image tag back is simple, but it does not reverse database changes automatically. Once a newer release has migrated the database, an older image may not start against that schema. Your rollback plan therefore depends on a verified backup taken immediately before the change, plus clear criteria for when to roll back. Confirm the reversibility of each migration with the project's release notes and your own test before relying on it.
- Define rollback triggers: Decide in advance which failures justify a rollback, such as failed logins, broken sync or migration errors.
- Keep the previous tag and backup together: Store the old image reference and the pre-change backup in the same change record.
- Test a restore, not just a backup: Confirm that the database and volumes can be restored into a clean environment.
- Plan communication: Name who tells analysts and sync partners if the instance is offline during a rollback.
- Confirm the vendor position: Ask your support provider or the project how to handle a failed migration before you need the answer.
Before you start any upgrade, confirm that the backup restores successfully and that someone with authority can approve a rollback during the change window.
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.
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 releasesSync 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.

