-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
68 lines (62 loc) · 1.43 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: '3.9'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.11.2
container_name: echowatch_elasticsearch
hostname: elasticsearch
environment:
- discovery.type=single-node
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
volumes:
- elasticsearch-data:/usr/share/elasticsearch/data
networks:
echowatch:
ipv4_address: 172.18.0.2
expose:
- "9200"
logstash:
image: docker.elastic.co/logstash/logstash:7.11.2
container_name: echowatch_logstash
hostname: logstash
volumes:
- logstash-pipeline:/usr/share/logstash/pipeline
networks:
echowatch:
ipv4_address: 172.18.0.3
expose:
- "5044"
kibana:
image: docker.elastic.co/kibana/kibana:7.11.2
container_name: echowatch_kibana
hostname: kibana
networks:
echowatch:
ipv4_address: 172.18.0.4
expose:
- "5601"
depends_on:
- elasticsearch
openvpn:
image: kylemanna/openvpn
container_name: echowatch_openvpn
hostname: openvpn
cap_add:
- NET_ADMIN
volumes:
- ./openvpn-data:/etc/openvpn
ports:
- 1194:1194/udp
networks:
echowatch:
ipv4_address: 172.18.0.5
restart: unless-stopped
networks:
echowatch:
driver: bridge
ipam:
config:
- subnet: 172.18.0.0/16
volumes:
elasticsearch-data:
logstash-pipeline: