MISP-dockerized-server

Image Information

Travis Master
Docker Size & Layers
Latest Docker Version
Commit for Latest Docker Version

Integrated MISP Modules

  • since 2.4.92:
    • pyzmq
    • pymisp
    • ssdeep
    • pydeep
    • python-magic
    • lief
    • maec

Quick Reference

How to Use this Image

Available Environment Variables

Environment Variables Example Type Component
MYSQL_ROOT_PASSWORD PleaseChangeMe REQUIRED DB
MYSQL_DATABASE misp OPTIONAL DB
MYSQL_USER misp OPTIONAL DB
MYSQL_PASSWORD PleaseChangeMe REQUIRED DB
REDIS_FQDN misp-redis OPTIONAL Redis
HTTP_PROXY http://proxy.example.com:3128 OPTIONAL Base
HTTPS_PROXY http://proxy.example.com:3128 OPTIONAL Base
NO_PROXY internal.example.com example.com OPTIONAL Base
SENDER_ADDRESS no-reply@example.com REQUIRED, only for MAIL Mail
DOMAIN example.com REQUIRED, only for MAIL Mail
HTTP_SERVERADMIN support@example.com REQUIRED Web
RELAYHOST mail.example.com REQUIRED, only for MAIL Mail
RELAY_USER Mailuser42 REQUIRED, only for MAIL Mail
RELAY_PASSWORD PleaseChangeMe REQUIRED, only for MAIL Mail
DOCKER_NETWORK 192.168.42.0/24 OPTIONAL Mail
DEBUG_PEER mail.example.com OPTIONAL Mail
PHP_MEMORY 512M OPTIONAL PHP
HOSTNAME misp.example.com DEPRECATED MISP
MISP_FQDN misp.example.com REQUIRED if MISP_URL is empty MISP
MISP_URL https://misp.example.com REQUIRED if MISP_FQDN is empty. MISP
MISP_HTTPS_PORT 443 REQUIRED MISP
MISP_encoding utf8 REQUIRED MISP
MISP_SALT Fl9DW5Zc3WMV0fKZi5RXDEJTpfVqSmumvbISZKxkzLaeNqHnYD REQUIRED MISP
ADD_ANALYZE_COLUMN no, yes OPTIONAL Entrypoint
USE_PGP no, yes OPTIONAL Entrypoint
USE_SMIME no, yes OPTIONAL Entrypoint

Using With docker-compose

services:
  ### MISP-Server ###
  misp-server:
    image: dcso/misp-dockerized-server:${MISP_CONTAINER_TAG}
    container_name: misp-server
    restart: on-failure
    # ports:
    #   - "8080:80" # DEBUG only
    #   - "8443:443" # DEBUG only
    environment:
      # DB
      MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
      MYSQL_DATABASE: ${MYSQL_DATABASE}
      MYSQL_USER: ${MYSQL_USER}
      MYSQL_PASSWORD: ${MYSQL_PASSWORD}
      # PROXY
      HTTP_PROXY: ${HTTP_PROXY}
      HTTPS_PROXY: ${HTTPS_PROXY}
      NO_PROXY: ${NO_PROXY}
      # POSTFIX
      SENDER_ADDRESS: ${SENDER_ADDRESS}
      HOSTNAME: ${myHOSTNAME}
      DOMAIN: ${DOMAIN}
      HTTP_SERVERADMIN: ${HTTP_SERVERADMIN}
      RELAYHOST: ${RELAYHOST}
      RELAY_USER: ${RELAY_USER}
      RELAY_PASSWORD: ${RELAY_PASSWORD}
      DOCKER_NETWORK: ${DOCKER_NETWORK}
      DEBUG_PEER: ${DEBUG_PEER}
      # PHP
      PHP_MEMORY: ${PHP_MEMORY}
    volumes:
    ###### mips-server ######
    # Apache2 Configuration
    - misp-vol-server-apache2-config-sites-enabled:/etc/apache2/sites-enabled
    # Volume with Certificates
    - misp-vol-ssl:/etc/apache2/ssl
    # Volume with PGP Key
    - misp-vol-pgp:/var/www/MISP/.gnupg
    # Volume with S/MIME Certificate and Key
    - misp-vol-smime:/var/www/MISP/.smime
    # Redis Volume
    - misp-vol-redis-data:/redis_data_dir
    # MISP Configurations:
    - misp-vol-server-MISP-app-Config:/var/www/MISP/app/Config
    - misp-vol-server-MISP-cakeresque-config:/var/www/MISP/app/Plugin/CakeResque/Config
    - misp-vol-server-MISP-tmp:/var/www/MISP/app/tmp
    - misp-vol-server-MISP-attachments:/var/www/MISP/app/files
    ###### misp-redis ######
    - misp-vol-redis-data:/data/
    ###### misp-db ######
    - misp-vol-db-data:/var/lib/mysql/"
    networks:
      misp-backend:
        aliases:
        - misp-server

Using With docker run

docker run \
    --name misp-server \
    -e MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD} \
    -e MYSQL_DATABASE: ${MYSQL_DATABASE} \
    -e MYSQL_USER: ${MYSQL_USER} \
    -e MYSQL_PASSWORD: ${MYSQL_PASSWORD} \
    -v misp-vol-server-apache2-config-sites-enabled:/etc/apache2/sites-enabled \
    -v misp-vol-ssl:/etc/apache2/ssl \
    -v misp-vol-pgp:/var/www/MISP/.gnupg \
    -v misp-vol-smime:/var/www/MISP/.smime \
    -v misp-vol-redis-data:/redis_data_dir \
    -v misp-vol-server-MISP-app-Config:/var/www/MISP/app/Config \
    -v misp-vol-server-MISP-cakeresque-config:/var/www/MISP/app/Plugin/CakeResque/Config \
    -v misp-vol-server-MISP-tmp:/var/www/MISP/app/tmp \
    -v misp-vol-server-MISP-attachments:/var/www/MISP/app/files \
    -v misp-vol-redis-data:/data/ \
    -v misp-vol-db-data:/var/lib/mysql/ \
    image: dcso/misp-dockerized-server \

Documentation

You can also find the Dockerfile at Github.com.

License

View license information for the software contained in this image.

As with all Docker images, these likely also contain other software that may be under other licenses (such as Bash, etc., from the base distribution, along with any direct or indirect dependencies of the primary software being contained).

As for any pre-built image usage, it is the image user’s responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.