forked from neuvector/neuvector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
67 lines (64 loc) · 1.69 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
# Only one service can be running per host.
# If non-host mode networking is supported, CTRL_HTTPS_PORT env is not needed. We can
# simply use 'ports' to map port 443.
controller:
image: neuvector/controller
container_name: neuvector.controller
privileged: true
#security_opt:
# - apparmor:unconfined
#cap_add:
# - SYS_ADMIN
# - MAC_ADMIN
# - NET_ADMIN
# - SETPCAP
environment:
- CLUSTER_JOIN_ADDR=10.1.2.1
- CTRL_PATH_DEBUG=1
ports:
- 18300:18300
- 18301:18301
- 18301:18301/udp
- 18400:18400
- 4443:443
volumes:
- /var/neuvector:/var/neuvector
- /var/run/docker.sock:/var/run/docker.sock
- /proc:/host/proc:ro
enforcer:
image: neuvector/enforcer
container_name: neuvector.enforcer
privileged: true
pid: host
environment:
- CLUSTER_JOIN_ADDR=10.1.2.1
- CTRL_PATH_DEBUG=1
ports:
- 18301:18301
- 18301:18301/udp
- 18401:18401
volumes:
- /var/neuvector:/var/neuvector
- /var/run/docker.sock:/var/run/docker.sock
- /proc:/host/proc:ro
- /sys/fs/cgroup/:/host/cgroup/:ro
ctrlenf:
image: neuvector/ctrlenf
container_name: neuvector.ctrlenf
privileged: true
pid: host
# cpuset: 2,3
environment:
- CLUSTER_JOIN_ADDR=10.1.2.1
- CTRL_PATH_DEBUG=1
ports:
- 18300:18300
- 18301:18301
- 18301:18301/udp
- 18400:18400
- 4443:443
volumes:
- /var/neuvector:/var/neuvector
- /var/run/docker.sock:/var/run/docker.sock
- /proc:/host/proc:ro
- /sys/fs/cgroup/:/host/cgroup/:ro