This repository was archived by the owner on Nov 6, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
101 lines (92 loc) · 2.08 KB
/
docker-compose.yml
File metadata and controls
101 lines (92 loc) · 2.08 KB
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
96
97
98
99
100
101
version: '3.9'
volumes:
db_data:
grafana-storage:
prometheus_data:
setup:
elasticsearch:
services:
app:
image: minitwit_app
ports:
- '3080:3080'
env_file:
- ./.env
environment:
- TZ=Europe/Copenhagen
db:
image: mongo:4.4.12
ports:
- '27017:27017'
volumes:
- db_data:/data/db
env_file:
- ./.env
environment:
- TZ=Europe/Copenhagen
prometheus:
image: prom/prometheus
volumes:
- prometheus_data:/prometheus
- ./config/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
ports:
- '9090:9090'
grafana:
image: grafana/grafana
volumes:
- grafana-storage:/var/lib/grafana
ports:
- '3000:3000'
elasticsearch_setup:
image: 'elasticsearch_setup'
init: true
volumes:
- setup:/state:Z
env_file:
- ./.env
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.1.1
volumes:
- elasticsearch:/usr/share/elasticsearch/data:Z
ports:
- '9200:9200'
- '9300:9300'
environment:
ES_JAVA_OPTS: -Xmx256m -Xms256m
discovery.type: single-node
cluster.name: docker-cluster
network.host: '0.0.0.0'
xpack.license.self_generated.type: basic
xpack.security.enabled: 'false'
env_file:
- ./.env
logstash:
image: docker.elastic.co/logstash/logstash:8.1.1
volumes:
- ./config/logstash/pipeline:/usr/share/logstash/pipeline:ro,Z
ports:
- '5044:5044'
- '5000:5000/tcp'
- '5000:5000/udp'
- '9600:9600'
environment:
LS_JAVA_OPTS: -Xmx256m -Xms256m
http.host: '0.0.0.0'
depends_on:
- elasticsearch
env_file:
- ./.env
kibana:
image: docker.elastic.co/kibana/kibana:8.1.1
ports:
- '5601:5601'
environment:
server.name: kibana
server.host: '0.0.0.0'
elasticsearch.hosts: http://elasticsearch:9200
monitoring.ui.container.elasticsearch.enabled: 'true'
elasticsearch.username: kibana_system
env_file:
- ./.env
depends_on:
- logstash