forked from threathunterX/nebula
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
69 lines (62 loc) · 1.67 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
version: '2'
services:
nebula-db:
image: mariadb
container_name: nebula-db
volumes:
- ./data/mariadb:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=threathunter
- MYSQL_USER=nebula
- MYSQL_PASSWORD=threathunter
nebula-redis:
image: redis
container_name: nebula-redis
ports:
- "36379:6379"
volumes:
- ./logs/redis:/data/logs/redis
- ./data/redis:/data/redis
- ./conf/redis/redis.conf:/etc/redis/redis.conf
command: redis-server /etc/redis/redis.conf
nebula-aerospike:
image: aerospike
container_name: nebula-aerospike
volumes:
- ./data/aerospike:/data/aerospike
- ./conf/aerospike/aerospike.conf:/opt/aerospike/etc/aerospike.conf
- ./logs/aerospike:/data/logs/aerospike
command: asd --foreground --config-file /opt/aerospike/etc/aerospike.conf
nebula:
build:
context: .
image: nebula:v1.1.2
container_name: nebula
restart: always
ports:
- "9003:9001"
volumes:
- ./conf/nebula:/etc/nebula
- ./logs/db_writer:/data/logs/db_writer
- ./logs/java-web:/data/logs/java-web
- ./logs/labrador:/data/logs/labrador
- ./logs/labrador:/data/logs/monitor
- ./logs/offline:/data/logs/offline
- ./logs/online:/data/logs/online
- ./logs/query_web:/data/logs/query_web
- ./logs/sniffer:/data/logs/sniffer
- ./logs/utils:/data/logs/utils
- ./logs/web:/data/logs/web
- ./logs/crond:/data/logs/crond
- ./data/tmp:/data/tmp
- ./data/config:/data/config
- ./data/log_query:/data/log_query
- ./data/persistent:/data/persistent
depends_on:
- nebula-db
- nebula-redis
- nebula-aerospike
external_links:
- nebula-db:mysql
- nebula-redis:redis
- nebula-aerospike:aerospike