-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathdocker-compose.yml
45 lines (42 loc) · 951 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
version: '2'
networks:
misp-network:
driver: bridge
services:
misp-web:
build: .
depends_on:
- misp-db
container_name: misp-web
hostname: misp
image: misp:latest
restart: always
networks:
- misp-network
links:
- misp-db
expose:
- 80
volumes:
- /dev/urandom:/dev/random
- /data/misp:/var/www/MISP
environment:
- MYSQL_ROOT_PASSWORD=xxxxxxxx
- MYSQL_MISP_PASSWORD=xxxxxxxx
- MYSQL_HOST=misp-db
- MISP_ADMIN_EMAIL=admin@admin.test
- MISP_ADMIN_PASSPHRASE=xxxxxxxxx
- MISP_BASEURL=http:\/\/misp\.test
- POSTFIX_RELAY_HOST=relay.fqdn
- TIMEZONE=Europe/Brussels
misp-db:
container_name: misp-db
hostname: mysql
image: mysql/mysql-server:latest
restart: always
networks:
- misp-network
volumes:
- /data/tmp/mysql:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=xxxxxxxx