misp-docker/docker-compose-nginx.yml

45 lines
963 B
YAML
Raw Normal View History

2018-06-22 15:51:16 +02:00
version: '2'
services:
proxy:
build:
context: proxy
container_name: proxy
restart: unless-stopped
2018-06-22 15:51:16 +02:00
image: misp-proxy:latest
ports:
- 80:80
- 4443:443
2018-06-22 15:51:16 +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
- /data/misp/web:/var/www/MISP
2018-06-22 15:51:16 +02:00
environment:
- 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
- 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
db:
container_name: misp_db
image: mysql/mysql-server:5.7
restart: unless-stopped
2018-06-22 15:51:16 +02:00
volumes:
- /data/misp/db:/var/lib/mysql
2018-06-22 15:51:16 +02:00
environment:
- MYSQL_DATABASE=misp
- MYSQL_USER=misp
- MYSQL_PASSWORD=misp
- MYSQL_ROOT_PASSWORD=misp