-
Notifications
You must be signed in to change notification settings - Fork 38
/
docker-compose.yml
74 lines (69 loc) · 1.7 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
version: '3'
services:
kvrocks:
image: apache/kvrocks
working_dir: /kvrocks
volumes:
- ./storage:/kvrocks/conf
command: ["-c", "/kvrocks/conf/kvrocks.conf", "--log-dir", "stdout"]
healthcheck:
test: ["CMD", "redis-cli", "-h", "127.0.0.1", "-p", "6101", "ping"]
interval: 10s
timeout: 1s
retries: 3
start_period: 30s
start_interval: 10s
redis:
image: redis:7
working_dir: /cache
command: ./cache.conf --daemonize no
volumes:
- ./cache:/cache
healthcheck:
test: ["CMD", "redis-cli", "-s", "/cache/cache.sock", "ping"]
interval: 10s
timeout: 1s
retries: 3
start_period: 10s
start_interval: 10s
clamav:
image: clamav/clamav
volumes:
- clamav-socket:/tmp
healthcheck:
test: ["CMD", "clamdscan", "--config=/etc/clamav/clamd.conf", "--ping", "1"]
interval: 10s
timeout: 1s
retries: 3
start_period: 120s
start_interval: 10s
pandora:
build: .
working_dir: /pandora
tty: true
command:
- /bin/sh
- -c
- |
sleep 60
poetry run start
tail -F ./LICENSE
volumes:
- ./cache:/pandora/cache
- ./storage:/pandora/storage
- ./pandora/workers:/pandora/pandora/workers
- ./config:/pandora/config
- ./yara_rules:/pandora/yara_rules
- ./yara_repos:/pandora/yara_repos
- ./logs:/pandora/logs
- ./web_logs:/pandora/website/logs
- ./tasks:/pandora/tasks
- clamav-socket:/var/run/clamav
links:
- "clamav"
- "redis"
- "kvrocks"
ports:
- 6100:6100
volumes:
clamav-socket: