-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
83 lines (77 loc) · 1.72 KB
/
docker-compose.yaml
File metadata and controls
83 lines (77 loc) · 1.72 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
version: "3.8"
services:
app:
build:
context: .
dockerfile: Dockerfile.dev
ports:
- "5007:5007"
depends_on:
- eventstore
- mongodb
- jaeger
- node01
volumes:
- .:/app
env_file:
- .env
eventstore:
image: ghcr.io/kurrent-io/eventstore:23.10.4-alpine
environment:
- EVENTSTORE_CLUSTER_SIZE=1
- EVENTSTORE_RUN_PROJECTIONS=All
- EVENTSTORE_START_STANDARD_PROJECTIONS=true
- EVENTSTORE_EXT_TCP_PORT=1113
- EVENTSTORE_HTTP_PORT=2113
- EVENTSTORE_INSECURE=true
- EVENTSTORE_ENABLE_EXTERNAL_TCP=true
- EVENTSTORE_ENABLE_ATOM_PUB_OVER_HTTP=true
ports:
- "1113:1113"
- "2113:2113"
volumes:
- eventstore-data:/var/lib/eventstore
- eventstore-logs:/var/log/eventstore
mongodb:
image: mongo:latest
env_file:
- .env
expose:
- "27017"
volumes:
- mongodb-data:/data/db
jaeger:
restart: always
image: jaegertracing/all-in-one:1.21
environment:
- COLLECTOR_ZIPKIN_HTTP_PORT=9411
ports:
- "5775:5775/udp"
- "6831:6831/udp"
- "6832:6832/udp"
- "5778:5778"
- "16686:16686"
- "14268:14268"
- "14250:14250"
- "9411:9411"
node01:
image: docker.elastic.co/elasticsearch/elasticsearch:7.11.1
environment:
- node.name=node01
- cluster.name=es-cluster-7
- discovery.type=single-node
- "ES_JAVA_OPTS=-Xms128m -Xmx128m"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- elastic-data01:/usr/share/elasticsearch/data
ports:
- "9200:9200"
volumes:
mongodb-data:
eventstore-data:
eventstore-logs:
elastic-data01:
driver: local