This repository contains a Docker Compose setup for running MISP (Malware Information Sharing Platform).
- Docker
- Docker Compose
- Python 3 (for the setup script)
You need to configure the environment variables before starting the services. You can do this automatically or manually.
We provide a Python script to generate a secure .env file with random passwords and keys.
- Run the setup script:
This will create a
python3 setup_env.py
.envfile in the current directory.
-
Copy the example environment file:
cp .env.example .env
-
Edit
.envand replace allCHANGE_MEplaceholders with secure values.- Ensure
SECURITY_SALTandCRYPT_KEYare random 32-character strings. - Set strong passwords for the database and Redis.
- Ensure
-
Start the containers:
docker compose up -d
-
Check the logs to ensure everything started correctly:
docker compose logs -f
Once the containers are running, you can access MISP at:
Note: You may see a browser warning about the self-signed certificate. This is expected for a local development setup.
If this is a fresh installation, the default MISP credentials are usually:
- Email:
admin@admin.test - Password:
admin
Please change these credentials immediately after your first login.
- misp-core: The main MISP application.
- db: MariaDB database for storing MISP data.
- redis: Redis for caching and session management.
- misp-modules: Expansion modules for MISP.
- mail: SMTP service for sending emails.