mirror of https://github.com/MISP/misp-docker
45 lines
963 B
YAML
45 lines
963 B
YAML
version: '2'
|
|
|
|
services:
|
|
proxy:
|
|
build:
|
|
context: proxy
|
|
container_name: proxy
|
|
restart: unless-stopped
|
|
image: misp-proxy:latest
|
|
ports:
|
|
- 80:80
|
|
- 4443:443
|
|
|
|
web:
|
|
build: web
|
|
container_name: misp_web
|
|
image: misp:latest
|
|
restart: unless-stopped
|
|
volumes:
|
|
- /dev/urandom:/dev/random
|
|
- /data/misp/web:/var/www/MISP
|
|
environment:
|
|
- MYSQL_HOST=db
|
|
- MYSQL_DATABASE=misp
|
|
- MYSQL_USER=misp
|
|
- MYSQL_PASSWORD=misp
|
|
- MISP_ADMIN_EMAIL=admin@admin.test
|
|
- MISP_ADMIN_PASSPHRASE=admin
|
|
- MISP_BASEURL=http:\/\/misp\.test
|
|
- POSTFIX_RELAY_HOST=relay.fqdn
|
|
- TIMEZONE=Europe/Brussels
|
|
|
|
db:
|
|
container_name: misp_db
|
|
image: mysql/mysql-server:5.7
|
|
restart: unless-stopped
|
|
volumes:
|
|
- /data/misp/db:/var/lib/mysql
|
|
environment:
|
|
- MYSQL_DATABASE=misp
|
|
- MYSQL_USER=misp
|
|
- MYSQL_PASSWORD=misp
|
|
- MYSQL_ROOT_PASSWORD=misp
|
|
|