-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
38 lines (36 loc) · 1.11 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
version: "2.2"
services:
certhunt:
container_name: certhunt
build: certhunt
restart: unless-stopped
environment:
- CERTHUNT_PARENT_EVENT_UUID
- CERTHUNT_DEFAULT_EVENT_TAGS
volumes:
- ./data/certhunt/certhunt.log:/app/certhunt.log
- ./data/certhunt/attributes.jsonl:/app/attributes.jsonl
depends_on:
- redis
mispbridge:
build: misp-bridge
restart: unless-stopped
environment:
- MISP_URL
- MISP_KEY
- MISP_VERIFYCERT
depends_on:
- redis
redis:
image: redis:alpine
restart: unless-stopped
volumes:
- ./data/redis:/data
# Restart certhunt daily due to suspected memory leak
# https://gist.github.com/kizzx2/782b500a81ce46b889903b1f80353f21
restarter:
container_name: certhunt_restarter
image: docker
volumes: ["/var/run/docker.sock:/var/run/docker.sock"]
command: ["/bin/sh", "-c", "while true; do sleep 86400; docker restart certhunt; done"]
restart: unless-stopped