-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
51 lines (48 loc) · 1.46 KB
/
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
46
47
48
49
50
51
version: "3"
services:
redis:
image: redis:latest
volumes:
- ./example_config/redis/redis.conf:/usr/local/etc/redis/redis.conf
command:
- redis-server
- /usr/local/etc/redis/redis.conf
restart: always
networks:
- intelmq-network
postgres:
image: postgres:latest
restart: always
environment:
POSTGRES_PASSWORD: test
POSTGRES_USER: root
POSTGRES_DB: test
networks:
- intelmq-database
# IntelMQ with IntelMQ-Manager!
intelmq-full:
image: intelmq-full:1.0
volumes:
- ./example_config/intelmq/etc:/opt/intelmq/etc
- ./example_config/intelmq-manager:/opt/intelmq-manager/config
- ./intelmq_logs:/opt/intelmq/var/log
- ./example_config/intelmq/var/lib/bot:/opt/intelmq/var/lib/bot
ports:
- 127.0.0.1:1337:8080/tcp
depends_on:
- redis
- postgres
environment:
INTELMQ_IS_DOCKER: "true"
INTELMQ_PIPELINE_DRIVER: "redis"
INTELMQ_PIPELINE_HOST: redis
INTELMQ_REDIS_CACHE_HOST: redis
INTELMQ_MANAGER_CONFIG: "/opt/intelmq-manager/config/config.json"
networks:
- intelmq-network
- intelmq-database
networks:
intelmq-network:
driver: bridge
intelmq-database:
driver: bridge