-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose-dev.yml
54 lines (52 loc) · 1.58 KB
/
docker-compose-dev.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
46
47
48
49
50
51
52
53
54
version: '3'
networks:
intelmq-network:
driver: bridge
services:
intelmq:
build: intelmq/
ports:
- 8081:80
depends_on:
- redis
networks:
- intelmq-network
volumes:
- ./volumes/output/:/opt/intelmq/var/lib/bots/file-output/
- ./volumes/logs:/opt/intelmq/var/log/
# git clone yourRepo volumes/intelmq-bots git clone https://github.com/CERTUNLP/intelmq-bots.git volumes/intelmq-bots
- ./volumes/intelmq-bots/etc:/opt/intelmq/etc
- ./volumes/intelmq-bots/bots/BOTS:/opt/intelmq/etc/BOTS
- ./volumes/intelmq-bots/:/intelmq-bots/
environment:
REDIS_SERVER: redis
DEV: "true"
LOG_MAIL_ENABLED: "true"
LOG_MAIL_LEVEL: "logging.ERROR"
LOG_MAIL_MAILHOST: "mail.example.unlp.edu.ar"
LOG_MAIL_PORT: 25
LOG_MAIL_FROMADDR: "[email protected]"
LOG_MAIL_TOADDR: "[email protected]"
LOG_MAIL_SUBJECT: "[INTELMQ] Application Error"
LOG_MAIL_CREDENTIALS: None #tuple (username, password)
LOG_MAIL_SECURE: None
ENABLE_BOTNET_AT_BOOT: "true"
redis:
image: redis
volumes:
- ./redis/redis.conf:/usr/local/etc/redis/redis.conf
command:
- redis-server
- /usr/local/etc/redis/redis.conf
networks:
- intelmq-network
logrotate:
image: blacklabelops/logrotate
environment:
LOGS_DIRECTORIES: /var/log/intelmq
LOGROTATE_COPIES: '3'
LOGROTATE_SIZE: 100M
LOGROTATE_COMPRESSION: compress
LOGROTATE_CRONSCHEDULE: '46 * * * * *'
volumes:
- ./volumes/logs:/var/log/intelmq