-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
102 lines (94 loc) · 2.59 KB
/
docker-compose.yaml
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
102
version: "3"
networks:
app-tier:
driver: bridge
volumes:
elasticsearch-data:
external: true
certs:
driver: local
services:
# apm-server:
# container_name: apm-server
# image: docker.elastic.co/apm/apm-server:7.17.0
# ports:
# - 8200:8200
# depends_on:
# - elasticsearch
# - kibana
# networks:
# - app-tier
# command: >
# apm-server -e
# -E apm-server.rum.enabled=true
# -E setup.kibana.host=kibana:5601
# -E setup.template.settings.index.number_of_replicas=0
# -E apm-server.kibana.enabled=true
# -E apm-server.kibana.host=kibana:5601
# -E output.elasticsearch.hosts=["elasticsearch:9200"]
# elasticsearch:
# container_name: elasticsearch
# image: docker.elastic.co/elasticsearch/elasticsearch:7.17.0
# ports:
# - 9200:9200
# volumes:
# - elasticsearch-data:/usr/share/elasticsearch/data
# - certs:/usr/share/elasticsearch/config/certificates
# environment:
# - xpack.monitoring.enabled=true
# - xpack.watcher.enabled=false
# - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
# - discovery.type=single-node
# - xpack.license.self_generated.type=trial
# networks:
# - app-tier
# filebeat:
# container_name: filebeat
# image: docker.elastic.co/beats/filebeat:7.17.0
# user: root
# command: filebeat -e -strict.perms=false
# depends_on:
# - kibana
# - elasticsearch
# volumes:
# - ${PWD}/filebeat.docker.yml:/usr/share/filebeat/filebeat.yml:ro
# - /var/lib/docker/containers:/var/lib/docker/containers:ro
# - /var/run/docker.sock:/var/run/docker.sock:ro
# environment:
# - setup.kibana.host=kibana:5601
# networks:
# - app-tier
# kibana:
# container_name: kibana
# image: docker.elastic.co/kibana/kibana:7.17.0
# ports:
# - 5601:5601
# depends_on:
# - elasticsearch
# environment:
# - ELASTICSEARCH_URL=http://elasticsearch:9200
# - xpack.apm.enabled=false
# - XPACK_ENCRYPTEDSAVEDOBJECTS_ENCRYPTIONKEY="1c1b4efe-912c-48a4-a137-06f7649fe7d2"
# networks:
# - app-tier
# accouting:
# image: xnxn/sso-service:latest
# labels:
# co.elastic.logs/enabled: true
# co.elastic.logs/json.keys_under_root: true
# co.elastic.logs/json.overwrite_keys: true
# co.elastic.logs/json.add_error_key: true
# co.elastic.logs/json.expand_keys: true
# depends_on:
# - apm-server
# ports:
# - "8181:8181"
# networks:
# - app-tier
rabbit:
image: rabbitmq:3-management-alpine
ports:
- 5672:5672
- 8081:15672
networks:
- app-tier