2018-06-22 15:51:16 +02:00
|
|
|
version: '2'
|
|
|
|
|
|
|
|
services:
|
|
|
|
proxy:
|
|
|
|
build:
|
2018-10-17 19:20:26 +02:00
|
|
|
context: proxy
|
|
|
|
container_name: proxy
|
|
|
|
restart: unless-stopped
|
2018-06-22 15:51:16 +02:00
|
|
|
image: misp-proxy:latest
|
|
|
|
ports:
|
2018-10-17 19:20:26 +02:00
|
|
|
- 80:80
|
2018-06-22 17:24:00 +02:00
|
|
|
- 4443:443
|
2018-06-22 15:51:16 +02:00
|
|
|
|
2018-10-17 19:20:26 +02:00
|
|
|
web:
|
|
|
|
build: web
|
|
|
|
container_name: misp_web
|
|
|
|
image: misp:latest
|
|
|
|
restart: unless-stopped
|
2018-06-22 15:51:16 +02:00
|
|
|
volumes:
|
|
|
|
- /dev/urandom:/dev/random
|
2018-10-17 19:20:26 +02:00
|
|
|
- /data/misp/web:/var/www/MISP
|
2018-06-22 15:51:16 +02:00
|
|
|
environment:
|
2018-10-17 19:20:26 +02:00
|
|
|
- MYSQL_HOST=db
|
|
|
|
- MYSQL_DATABASE=misp
|
|
|
|
- MYSQL_USER=misp
|
|
|
|
- MYSQL_PASSWORD=misp
|
2018-06-22 15:51:16 +02:00
|
|
|
- MISP_ADMIN_EMAIL=admin@admin.test
|
2018-10-17 19:20:26 +02:00
|
|
|
- MISP_ADMIN_PASSPHRASE=admin
|
2018-06-22 15:51:16 +02:00
|
|
|
- MISP_BASEURL=http:\/\/misp\.test
|
|
|
|
- POSTFIX_RELAY_HOST=relay.fqdn
|
|
|
|
- TIMEZONE=Europe/Brussels
|
|
|
|
|
2018-10-17 19:20:26 +02:00
|
|
|
db:
|
|
|
|
container_name: misp_db
|
|
|
|
image: mysql/mysql-server:5.7
|
|
|
|
restart: unless-stopped
|
2018-06-22 15:51:16 +02:00
|
|
|
volumes:
|
2018-10-17 19:20:26 +02:00
|
|
|
- /data/misp/db:/var/lib/mysql
|
2018-06-22 15:51:16 +02:00
|
|
|
environment:
|
2018-10-17 19:20:26 +02:00
|
|
|
- MYSQL_DATABASE=misp
|
|
|
|
- MYSQL_USER=misp
|
|
|
|
- MYSQL_PASSWORD=misp
|
|
|
|
- MYSQL_ROOT_PASSWORD=misp
|
2018-06-22 17:24:00 +02:00
|
|
|
|