2019-11-25 21:58:18 +00:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
redis:
|
|
|
|
image: redis:5.0.6
|
|
|
|
|
|
|
|
db:
|
|
|
|
image: mysql
|
|
|
|
command: --default-authentication-plugin=mysql_native_password
|
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
- "MYSQL_USER=misp"
|
|
|
|
- "MYSQL_PASSWORD=example"
|
|
|
|
- "MYSQL_ROOT_PASSWORD=password"
|
|
|
|
- "MYSQL_DATABASE=misp"
|
|
|
|
|
|
|
|
misp:
|
|
|
|
image: misp
|
|
|
|
build: server/.
|
2019-11-28 19:14:38 +00:00
|
|
|
depends_on:
|
|
|
|
- redis
|
|
|
|
- db
|
2019-11-25 21:58:18 +00: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"
|
|
|
|
- "./ssl/:/etc/apache2/ssl/"
|
|
|
|
environment:
|
2019-11-26 21:18:52 +00:00
|
|
|
- "CRON_USER_ID=1"
|
2019-11-27 14:16:05 +00:00
|
|
|
- "REDIS_FQDN=redis"
|
2019-11-25 21:58:18 +00:00
|
|
|
- "MYSQL_PASSWORD=example"
|
2019-11-28 22:46:30 +00:00
|
|
|
- "INIT=true" # Initialze MISP, things includes, attempting to import SQL and the Files DIR
|
2019-11-25 21:58:18 +00:00
|
|
|
|
|
|
|
misp-modules:
|
|
|
|
image: misp-modules
|
|
|
|
build: modules/.
|
2019-11-28 19:14:38 +00:00
|
|
|
environment:
|
|
|
|
- "REDIS_BACKEND=redis"
|
|
|
|
depends_on:
|
|
|
|
- redis
|
|
|
|
- db
|
|
|
|
|