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"
|
|
|
|
|
|
|
|
misp:
|
2020-02-21 22:34:21 +01:00
|
|
|
image: coolacid/misp-docker:core-latest
|
2020-01-30 15:45:34 +01:00
|
|
|
build:
|
|
|
|
context: server/.
|
|
|
|
args:
|
|
|
|
- MISP_TAG=${MISP_TAG}
|
|
|
|
- PHP_VER=${PHP_VER}
|
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-02-20 02:21:49 +01:00
|
|
|
- "./ssl/:/etc/ssl/"
|
2019-11-25 22:58:18 +01:00
|
|
|
environment:
|
2019-11-26 22:18:52 +01:00
|
|
|
- "CRON_USER_ID=1"
|
2019-11-27 15:16:05 +01:00
|
|
|
- "REDIS_FQDN=redis"
|
2019-11-25 22:58:18 +01:00
|
|
|
- "MYSQL_PASSWORD=example"
|
2020-01-29 21:15:17 +01:00
|
|
|
- "HOSTNAME=https://localhost"
|
2019-11-28 23:46:30 +01:00
|
|
|
- "INIT=true" # Initialze MISP, things includes, attempting to import SQL and the Files DIR
|
2019-11-25 22:58:18 +01:00
|
|
|
|
|
|
|
misp-modules:
|
2020-02-21 22:34:21 +01:00
|
|
|
image: coolacid/misp-docker:modules-latest
|
2020-01-30 15:45:34 +01:00
|
|
|
build:
|
|
|
|
context: modules/.
|
|
|
|
args:
|
|
|
|
- MISP_TAG=${MISP_TAG}
|
2019-11-28 20:14:38 +01:00
|
|
|
environment:
|
|
|
|
- "REDIS_BACKEND=redis"
|
|
|
|
depends_on:
|
|
|
|
- redis
|
|
|
|
- db
|
|
|
|
|