-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose-dovetail.yml
95 lines (90 loc) · 2.39 KB
/
docker-compose-dovetail.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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
version: '2'
# docker-compose file to launch jenkins_master/ELK stack instead of VM,
# with dovetail project container from OPNFV.
services:
jenkins_master:
build:
context: ./dockerfiles
dockerfile: centos7_base
container_name: jenkins_master
entrypoint: /sbin/init
privileged: true
security_opt:
- seccomp:unconfined
volumes:
- /run
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- ./:/opt/toad
- ./container_data/jenkins/data:/var/lib/jenkins/userContent
- ./container_data/jenkins/log:/var/log/jenkins
- ./container_data/jenkins/jobs:/etc/jenkins_jobs
entrypoint: /sbin/init
ports:
- "8080:8080"
logstash:
build:
context: ./dockerfiles
dockerfile: centos7_base
container_name: logstash
entrypoint: /sbin/init
privileged: true
security_opt:
- seccomp:unconfined
volumes:
- /run
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- ./:/opt/toad
- ./container_data/logstash/config:/etc/logstash/conf.d
- ./container_data/logstash/log:/var/log/logstash/logstash.log
entrypoint: /sbin/init
ports:
- "5044:5044"
elasticsearch:
build:
context: ./dockerfiles
dockerfile: centos7_base
container_name: elasticsearch
entrypoint: /sbin/init
privileged: true
security_opt:
- seccomp:unconfined
volumes:
- /run
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- ./:/opt/toad
- ./container_data/elasticsearch/log:/var/log/elasticsearch
- ./container_data/elasticsearch/data:/var/lib/elasticsearch
- ./container_data/elasticsearch/config:/etc/elasticsearch
entrypoint: /sbin/init
ports:
- "9200:9200"
kibana:
build:
context: ./dockerfiles
dockerfile: centos7_base
container_name: kibana
privileged: true
security_opt:
- seccomp:unconfined
volumes:
- /run
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- ./:/opt/toad
- ./container_data/kibana/config:/opt/kibana/config
entrypoint: /sbin/init
dovetail:
build:
context: ./dockerfiles
dockerfile: centos7_dovetail
container_name: dovetail
entrypoint: /sbin/init
privileged: true
security_opt:
- seccomp:unconfined
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- ./:/opt/toad
entrypoint: /sbin/init
ports:
- "443:443"
- "5601:5601"