-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (35 loc) · 944 Bytes
/
docker-compose.yml
File metadata and controls
38 lines (35 loc) · 944 Bytes
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
version: '2'
services:
misp:
build: .
image: misp:latest
restart: unless-stopped
ports:
- "80:80"
volumes:
- /dev/urandom:/dev/urandom
- ./gpg/:/var/www/MISP/.gnupg
# Not required: - ./config/config.php:/var/www/MISP/app/Config/config.php
# Not required: - ./config/resque_config.php:/var/www/MISP/app/Plugin/CakeResque/Config/config.php:ro
environment:
- MISP_BASEURL=http://localhost/
- REDIS_HOST=redis
- MYSQL_HOST=db
- MYSQL_DATABASE=misp
- MYSQL_USER=misp
- MYSQL_PASSWORD=misp
- POSTFIX_RELAY_HOST=relay.fqdn
- TIMEZONE=Europe/Brussels
redis:
image: redis
restart: unless-stopped
db:
image: mysql/mysql-server:5.7
restart: unless-stopped
volumes:
- ./data/db:/var/lib/mysql
environment:
- MYSQL_DATABASE=misp
- MYSQL_USER=misp
- MYSQL_PASSWORD=misp
- MYSQL_ROOT_PASSWORD=misp