2019-11-25 22:58:18 +01:00
|
|
|
version: '3'
|
|
|
|
services:
|
2020-02-12 17:01:14 +01:00
|
|
|
# This is capible to relay via gmail, Amazon SES, or generic relays
|
|
|
|
# See: https://hub.docker.com/r/namshi/smtp
|
|
|
|
mail:
|
|
|
|
image: namshi/smtp
|
|
|
|
|
2019-11-25 22:58:18 +01:00
|
|
|
redis:
|
|
|
|
image: redis:5.0.6
|
|
|
|
|
|
|
|
db:
|
2020-01-28 22:04:09 +01:00
|
|
|
image: mysql:8.0.19
|
2019-11-25 22:58:18 +01:00
|
|
|
command: --default-authentication-plugin=mysql_native_password
|
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
- "MYSQL_USER=misp"
|
|
|
|
- "MYSQL_PASSWORD=example"
|
|
|
|
- "MYSQL_ROOT_PASSWORD=password"
|
|
|
|
- "MYSQL_DATABASE=misp"
|
2020-03-21 17:34:09 +01:00
|
|
|
volumes:
|
|
|
|
- mysql_data:/var/lib/mysql
|
2020-12-11 17:10:36 +01:00
|
|
|
cap_add:
|
|
|
|
- SYS_NICE # CAP_SYS_NICE Prevent runaway mysql log
|
2019-11-25 22:58:18 +01:00
|
|
|
|
|
|
|
misp:
|
2020-02-21 22:34:21 +01:00
|
|
|
image: coolacid/misp-docker:core-latest
|
2019-11-28 20:14:38 +01:00
|
|
|
depends_on:
|
|
|
|
- redis
|
|
|
|
- db
|
2019-11-25 22:58:18 +01:00
|
|
|
ports:
|
|
|
|
- "80:80"
|
|
|
|
- "443:443"
|
|
|
|
volumes:
|
|
|
|
- "./server-configs/:/var/www/MISP/app/Config/"
|
|
|
|
- "./logs/:/var/www/MISP/app/tmp/logs/"
|
|
|
|
- "./files/:/var/www/MISP/app/files"
|
2020-05-29 02:23:33 +02:00
|
|
|
- "./ssl/:/etc/nginx/certs"
|
2020-03-06 17:10:24 +01:00
|
|
|
# - "./examples/custom-entrypoint.sh:/custom-entrypoint.sh" # Use the example custom-entrypoint.sh
|
2019-11-25 22:58:18 +01:00
|
|
|
environment:
|
2020-01-29 21:15:17 +01:00
|
|
|
- "HOSTNAME=https://localhost"
|
2020-03-21 17:10:13 +01:00
|
|
|
- "REDIS_FQDN=redis"
|
|
|
|
- "INIT=true" # Initialze MISP, things includes, attempting to import SQL and the Files DIR
|
|
|
|
- "CRON_USER_ID=1" # The MISP user ID to run cron jobs as
|
|
|
|
# - "SYNCSERVERS=1 2 3 4" # The MISP Feed servers to sync in the cron job
|
|
|
|
# Database Configuration (And their defaults)
|
|
|
|
# - "MYSQL_HOST=db"
|
|
|
|
# - "MYSQL_USER=misp"
|
2020-07-27 21:42:44 +02:00
|
|
|
# - "MYSQL_PASSWORD=example" # NOTE: This should be AlphaNum with no Special Chars. Otherwise, edit config files after first run.
|
2020-03-21 17:10:13 +01:00
|
|
|
# - "MYSQL_DATABASE=misp"
|
|
|
|
# Optional Settings
|
|
|
|
# - "NOREDIR=true" # Do not redirect port 80
|
|
|
|
# - "DISIPV6=true" # Disable IPV6 in nginx
|
2021-04-07 16:46:05 +02:00
|
|
|
# - "CERTAUTH=optional" # Can be set to optional or on - Step 2 of https://github.com/MISP/MISP/tree/2.4/app/Plugin/CertAuth is still required
|
2020-05-29 01:33:54 +02:00
|
|
|
# - "SECURESSL=true" # Enable higher security SSL in nginx
|
2020-08-26 02:27:53 +02:00
|
|
|
# - "MISP_MODULES_FQDN=http://misp-modules" # Set the MISP Modules FQDN, used for Enrichment_services_url/Import_services_url/Export_services_url
|
2021-04-20 09:13:09 +02:00
|
|
|
# - "WORKERS=1" #If set to a value larger than 1 this will increase the number of parallel worker processes
|
2019-11-25 22:58:18 +01:00
|
|
|
misp-modules:
|
2020-02-21 22:34:21 +01:00
|
|
|
image: coolacid/misp-docker:modules-latest
|
2019-11-28 20:14:38 +01:00
|
|
|
environment:
|
|
|
|
- "REDIS_BACKEND=redis"
|
|
|
|
depends_on:
|
|
|
|
- redis
|
|
|
|
- db
|
|
|
|
|
2020-03-21 17:34:09 +01:00
|
|
|
volumes:
|
|
|
|
mysql_data:
|