This repository has been archived by the owner on Mar 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
166 lines (150 loc) · 3.26 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
version: '3.2'
services:
novel-ai:
image: novel-ai:latest
networks:
- app
- tracing
ports:
- 9080:8080
- 6005:5005
restart: on-failure
author-service:
image: author-service:latest
networks:
- app
- tracing
ports:
- 9081:8080
- 6015:5005
restart: on-failure
text-library-service:
image: text-library-service:latest
networks:
- app
- database
- tracing
ports:
- 9082:8080
- 6025:5005
restart: on-failure
novel-library-service:
image: novel-library-service:latest
networks:
- app
- database
- tracing
ports:
- 9083:8080
- 6035:5005
restart: on-failure
document-generator-service:
image: document-generator-service:latest
networks:
- app
- tracing
ports:
- 9084:8080
restart: on-failure
environment:
- SERVER_PORT=8080
- NODE_ENV=development
- JAEGER_SERVICE_NAME=document-generator-service
- JAEGER_AGENT_HOST=jaeger-agent
library_db:
image: postgres:alpine
networks:
- database
ports:
- 5432:5432
volumes:
- library_db_data:/var/lib/postgresql/data/pg_data
environment:
- POSTGRES_PASSWORD=library
- POSTGRES_DB=library
- POSTGRES_USER=library
- PGDATA=/var/lib/postgresql/data/pg_data
text_db:
image: mongo:latest
networks:
- database
environment:
- MONGO_DATA_DIR=/data/db
# volumes:
# - text_db_data:/data/db
# - text_db_config:/data/configdb
ports:
- 27017:27017
text_db-seed:
build: ./text_db-seed
networks:
- database
jaeger-collector:
image: jaegertracing/jaeger-collector
command: ["--cassandra.keyspace=jaeger_v1_dc1", "--cassandra.servers=cassandra", "--collector.zipkin.http-port=9411"]
networks:
- tracing
# ports:
# - "14269"
# - "14268:14268"
# - "14267"
# - "14250"
# - "9411:9411"
restart: on-failure
depends_on:
- cassandra-schema
jaeger-query:
image: jaegertracing/jaeger-query
command: ["--cassandra.keyspace=jaeger_v1_dc1", "--cassandra.servers=cassandra"]
networks:
- tracing
ports:
- "16686:16686"
# - "16687"
restart: on-failure
depends_on:
- cassandra-schema
jaeger-agent:
image: jaegertracing/jaeger-agent
command: ["--reporter.grpc.host-port=jaeger-collector:14250"]
networks:
- tracing
ports:
- "5775:5775/udp"
- "6831:6831/udp"
- "6832:6832/udp"
- "5778:5778"
restart: on-failure
depends_on:
- jaeger-collector
jaeger-spark-dependencies:
image: jaegertracing/spark-dependencies
networks:
- tracing
restart: on-failure
environment:
- STORAGE=cassandra
- CASSANDRA_CONTACT_POINTS=cassandra
depends_on:
- jaeger-collector
cassandra:
image: cassandra:3.9
networks:
- tracing
volumes:
- cassandra_db_data:/var/lib/cassandra
cassandra-schema:
image: jaegertracing/jaeger-cassandra-schema
networks:
- tracing
depends_on:
- cassandra
networks:
app:
database:
tracing:
volumes:
library_db_data:
# text_db_data:
# text_db_config:
cassandra_db_data: