-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
216 lines (200 loc) · 5.47 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
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
version: '3.8'
services:
postgresdb-15.4:
image: postgres:15.4
container_name: postgresdb-15.4
restart: always
ports:
- 5432:5432
environment:
#POSTGRES_USER: someusername //We use the default postgres superuser
POSTGRES_PASSWORD: <your-password>
#POSTGRES_DB: mydb //We let the postgres create a default database
volumes:
- ./Postgres-15.4/data:/var/lib/postgresql/data
networks:
- shared-net
redisdb-7.2:
image: redis:7.2.1
container_name: redisdb-7.2
restart: always
ports:
- 6379:6379
environment:
- REDIS_PASSWORD=<your-password>
- REDIS_PORT=6379
- REDIS_DATABASES=16
volumes: #command: redis-server /usr/local/etc/redis/redis.conf #Raises error if no config file provides. Enable when there is already a config file in the config directory
- ./Redis-7.2/data:/data
- ./Redis-7.2/config:/usr/local/etc/redis
networks:
- shared-net
mongodb-7:
image: mongo:7
container_name: mongodb-7
restart: always
ports:
- 27017:27017
environment:
MONGO_INITDB_ROOT_USERNAME: mongo
MONGO_INITDB_ROOT_PASSWORD: <your-password>
volumes:
- ./Mongo-7/data:/data/db
- ./Mongo-7/config:/data/configdb
networks:
- shared-net
seq-2023.4:
image: datalust/seq:2023.4
container_name: seq-2023.4
restart: always
ports:
- 5341:80
- 5342:5341
- 45341:45341
environment:
- ACCEPT_EULA=Y
- SEQ_FIRSTRUN_ADMINUSERNAME=admin #A username for the default administrator account
volumes:
- ./Seq-2023.4/data:/data
networks:
- shared-net
rabbitmq-3.11:
image: rabbitmq:3.11-management
container_name: rabbitmq-3.11
restart: always
ports:
- 5672:5672 # (erlang) communication between the nodes and CLI tool
- 15672:15672 # communication with the web management API
environment:
- RABBITMQ_DEFAULT_USER=admin
- RABBITMQ_DEFAULT_PASS=<your-password>
volumes: # queues and messages data of the container will be stored on the host
- ./RabbitMQ-3.11/data:/var/lib/rabbitmq
- ./RabbitMQ-3.11/log:/var/log/rabbitmq
networks:
- shared-net
elasticsearch-7.17:
image: elasticsearch:7.17.18
container_name: elasticsearch-7.17
restart: always
ports:
- 9200:9200
- 9300:9300
environment:
- ES_JAVA_OPTS=-Xms2g -Xmx2g
- bootstrap.memory_lock=true
- discovery.type=single-node
- xpack.security.enabled=true # Enables Elasticsearch security features on the node.
- ELASTIC_PASSWORD=<your-password>
networks:
- shared-net
kibana-7.17:
image: kibana:7.17.18
container_name: kibana-7.17
restart: always
ports:
- 5601:5601
environment:
- KIBANA_JAVA_OPTS=-Xms512m -Xmx512m
- XPACK_MONITORING_ENABLED=true
- ELASTICSEARCH_HOSTS=http://elasticsearch-7.17:9200
- ELASTICSEARCH_USERNAME=elastic
- ELASTICSEARCH_PASSWORD=<your-password>
networks:
- shared-net
depends_on:
- elasticsearch-7.17
jaeger-1.52:
image: jaegertracing/all-in-one:1.52.0
container_name: jaeger-1.52
restart: always
ports:
- 5775:5775/udp
- 6831:6831/udp
- 6832:6832/udp
- 5778:5778
- 16686:16686 # UI
- 14268:14268
- 9412:9412
environment:
- SPAN_STORAGE_TYPE=elasticsearch # The storage is defined as Elasticsearch type
- ES_SERVER_URLS=http://elasticsearch-7.17:9200
- ES_USERNAME=elastic
- ES_PASSWORD=<your-password>
- COLLECTOR_ZIPKIN_HTTP_PORT=9412 # For Dapr
- ES_TAGS_AS_FIELDS_ALL=true # To store the Jaeger traces properly
networks:
- shared-net
depends_on:
- elasticsearch-7.17
loki:
image: grafana/loki:2.9.2
ports:
- "3100:3100"
command: -config.file=/etc/loki/local-config.yaml
networks:
- shared-net
promtail:
image: grafana/promtail:2.9.2
volumes:
- /var/log:/var/log
command: -config.file=/etc/promtail/config.yml
networks:
- shared-net
grafana:
environment:
- GF_PATHS_PROVISIONING=/etc/grafana/provisioning
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
entrypoint:
- sh
- -euc
- |
mkdir -p /etc/grafana/provisioning/datasources
cat <<EOF > /etc/grafana/provisioning/datasources/ds.yaml
apiVersion: 1
datasources:
- name: Loki
type: loki
access: proxy
orgId: 1
url: http://loki:3100
basicAuth: false
isDefault: true
version: 1
editable: false
EOF
/run.sh
image: grafana/grafana:latest
ports:
- "3000:3000"
networks:
- shared-net
prometheus:
image: prom/prometheus
volumes:
- "./prometheus.yml:/etc/prometheus/prometheus.yml"
ports:
- 9090:9090
networks:
- shared-net
aspire-dashboard:
image: mcr.microsoft.com/dotnet/aspire-dashboard:8.0.0
container_name: aspire-dashboard
stdin_open: true
tty: true
ports:
- 18888:18888
- 4317:18889
environment:
- DOTNET_DASHBOARD_UNSECURED_ALLOW_ANONYMOUS=true
networks:
- shared-net
dapr-1.12:
image: daprio/dapr:1.12.3-rc.2-stablecomponents
container_name: dapr-1.12
restart: always
networks:
- shared-net
networks:
shared-net: