mirror of https://github.com/MISP/misp-docker
38 lines
849 B
YAML
38 lines
849 B
YAML
version: '2'
|
|
|
|
services:
|
|
web:
|
|
build: web
|
|
depends_on:
|
|
- db
|
|
container_name: misp_web
|
|
image: misp:latest
|
|
restart: unless-stopped
|
|
ports:
|
|
- "80:80"
|
|
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
|