@@ -55,7 +55,7 @@ services:
55
55
context : .
56
56
dockerfile : dev.dockerfile
57
57
image : cortex
58
- command : ["sh", "-c", "sleep 3 && exec ./cortex -config.file=./config/cortex.yaml -target=distributor -server.http-listen-port=8001 -server.grpc-listen-port=9001"]
58
+ command : ["sh", "-c", "sleep 3 && exec ./dlv exec ./ cortex --listen=:18001 --headless=true --api-version=2 --accept-multiclient --continue -- -config.file=./config/cortex.yaml -target=distributor -server.http-listen-port=8001 -server.grpc-listen-port=9001"]
59
59
depends_on :
60
60
- consul
61
61
- minio
@@ -67,6 +67,7 @@ services:
67
67
- JAEGER_SAMPLER_PARAM=1
68
68
ports :
69
69
- 8001:8001
70
+ - 18001:18001
70
71
volumes :
71
72
- ./config:/cortex/config
72
73
@@ -75,7 +76,7 @@ services:
75
76
context : .
76
77
dockerfile : dev.dockerfile
77
78
image : cortex
78
- command : ["sh", "-c", "sleep 3 && exec ./cortex -config.file=./config/cortex.yaml -target=ingester -server.http-listen-port=8002 -server.grpc-listen-port=9002"]
79
+ command : ["sh", "-c", "sleep 3 && exec ./dlv exec ./ cortex --listen=:18002 --headless=true --api-version=2 --accept-multiclient --continue -- -config.file=./config/cortex.yaml -target=ingester -server.http-listen-port=8002 -server.grpc-listen-port=9002"]
79
80
depends_on :
80
81
- consul
81
82
- minio
@@ -87,6 +88,7 @@ services:
87
88
- JAEGER_SAMPLER_PARAM=1
88
89
ports :
89
90
- 8002:8002
91
+ - 18002:18002
90
92
volumes :
91
93
- ./config:/cortex/config
92
94
- .data-ingester-1:/tmp/cortex-tsdb-ingester:delegated
@@ -96,7 +98,7 @@ services:
96
98
context : .
97
99
dockerfile : dev.dockerfile
98
100
image : cortex
99
- command : ["sh", "-c", "sleep 3 && exec ./cortex -config.file=./config/cortex.yaml -target=ingester -server.http-listen-port=8003 -server.grpc-listen-port=9003"]
101
+ command : ["sh", "-c", "sleep 3 && exec ./dlv exec ./ cortex --listen=:18003 --headless=true --api-version=2 --accept-multiclient --continue -- -config.file=./config/cortex.yaml -target=ingester -server.http-listen-port=8003 -server.grpc-listen-port=9003"]
100
102
depends_on :
101
103
- consul
102
104
- minio
@@ -108,6 +110,7 @@ services:
108
110
- JAEGER_SAMPLER_PARAM=1
109
111
ports :
110
112
- 8003:8003
113
+ - 18003:18003
111
114
volumes :
112
115
- ./config:/cortex/config
113
116
- .data-ingester-2:/tmp/cortex-tsdb-ingester:delegated
@@ -117,7 +120,7 @@ services:
117
120
context : .
118
121
dockerfile : dev.dockerfile
119
122
image : cortex
120
- command : ["sh", "-c", "sleep 3 && exec ./cortex -config.file=./config/cortex.yaml -target=querier -server.http-listen-port=8004 -server.grpc-listen-port=9004"]
123
+ command : ["sh", "-c", "sleep 3 && exec ./dlv exec ./ cortex --listen=:18004 --headless=true --api-version=2 --accept-multiclient --continue -- -config.file=./config/cortex.yaml -target=querier -server.http-listen-port=8004 -server.grpc-listen-port=9004"]
121
124
depends_on :
122
125
- consul
123
126
- minio
@@ -129,6 +132,7 @@ services:
129
132
- JAEGER_SAMPLER_PARAM=1
130
133
ports :
131
134
- 8004:8004
135
+ - 18004:18004
132
136
volumes :
133
137
- ./config:/cortex/config
134
138
@@ -137,7 +141,7 @@ services:
137
141
context : .
138
142
dockerfile : dev.dockerfile
139
143
image : cortex
140
- command : ["sh", "-c", "sleep 3 && exec ./cortex -config.file=./config/cortex.yaml -target=store-gateway -server.http-listen-port=8008 -server.grpc-listen-port=9008"]
144
+ command : ["sh", "-c", "sleep 3 && exec ./dlv exec ./ cortex --listen=:18008 --headless=true --api-version=2 --accept-multiclient --continue -- -config.file=./config/cortex.yaml -target=store-gateway -server.http-listen-port=8008 -server.grpc-listen-port=9008"]
141
145
depends_on :
142
146
- consul
143
147
- minio
@@ -149,6 +153,7 @@ services:
149
153
- JAEGER_SAMPLER_PARAM=1
150
154
ports :
151
155
- 8008:8008
156
+ - 18008:18008
152
157
volumes :
153
158
- ./config:/cortex/config
154
159
@@ -157,7 +162,7 @@ services:
157
162
context : .
158
163
dockerfile : dev.dockerfile
159
164
image : cortex
160
- command : ["sh", "-c", "sleep 3 && exec ./cortex -config.file=./config/cortex.yaml -target=store-gateway -server.http-listen-port=8009 -server.grpc-listen-port=9009"]
165
+ command : ["sh", "-c", "sleep 3 && exec ./dlv exec ./ cortex --listen=:18009 --headless=true --api-version=2 --accept-multiclient --continue -- -config.file=./config/cortex.yaml -target=store-gateway -server.http-listen-port=8009 -server.grpc-listen-port=9009"]
161
166
depends_on :
162
167
- consul
163
168
- minio
@@ -169,6 +174,7 @@ services:
169
174
- JAEGER_SAMPLER_PARAM=1
170
175
ports :
171
176
- 8009:8009
177
+ - 18009:18009
172
178
volumes :
173
179
- ./config:/cortex/config
174
180
@@ -177,7 +183,7 @@ services:
177
183
context : .
178
184
dockerfile : dev.dockerfile
179
185
image : cortex
180
- command : ["sh", "-c", "sleep 3 && exec ./cortex -config.file=./config/cortex.yaml -target=ruler -server.http-listen-port=8005 -server.grpc-listen-port=9005"]
186
+ command : ["sh", "-c", "sleep 3 && exec ./dlv exec ./ cortex --listen=:18005 --headless=true --api-version=2 --accept-multiclient --continue -- -config.file=./config/cortex.yaml -target=ruler -server.http-listen-port=8005 -server.grpc-listen-port=9005"]
181
187
depends_on :
182
188
- consul
183
189
- minio
@@ -189,6 +195,7 @@ services:
189
195
- JAEGER_SAMPLER_PARAM=1
190
196
ports :
191
197
- 8005:8005
198
+ - 18005:18005
192
199
volumes :
193
200
- ./config:/cortex/config
194
201
@@ -197,7 +204,7 @@ services:
197
204
context : .
198
205
dockerfile : dev.dockerfile
199
206
image : cortex
200
- command : ["sh", "-c", "sleep 3 && exec ./cortex -config.file=./config/cortex.yaml -target=compactor -server.http-listen-port=8006 -server.grpc-listen-port=9006"]
207
+ command : ["sh", "-c", "sleep 3 && exec ./dlv exec ./ cortex --listen=:18006 --headless=true --api-version=2 --accept-multiclient --continue -- -config.file=./config/cortex.yaml -target=compactor -server.http-listen-port=8006 -server.grpc-listen-port=9006"]
201
208
depends_on :
202
209
- consul
203
210
- minio
@@ -209,6 +216,7 @@ services:
209
216
- JAEGER_SAMPLER_PARAM=1
210
217
ports :
211
218
- 8006:8006
219
+ - 18006:18006
212
220
volumes :
213
221
- ./config:/cortex/config
214
222
@@ -217,7 +225,7 @@ services:
217
225
context : .
218
226
dockerfile : dev.dockerfile
219
227
image : cortex
220
- command : ["sh", "-c", "sleep 3 && exec ./cortex -config.file=./config/cortex.yaml -target=query-frontend -server.http-listen-port=8007 -server.grpc-listen-port=9007"]
228
+ command : ["sh", "-c", "sleep 3 && exec ./dlv exec ./ cortex --listen=:18007 --headless=true --api-version=2 --accept-multiclient --continue -- -config.file=./config/cortex.yaml -target=query-frontend -server.http-listen-port=8007 -server.grpc-listen-port=9007"]
221
229
depends_on :
222
230
- consul
223
231
- minio
@@ -229,5 +237,6 @@ services:
229
237
- JAEGER_SAMPLER_PARAM=1
230
238
ports :
231
239
- 8007:8007
240
+ - 18007:18007
232
241
volumes :
233
242
- ./config:/cortex/config
0 commit comments