Expose used ports instead of using `ports`.
This commit is contained in:
parent
aa23b488fa
commit
4488149560
|
@ -21,10 +21,10 @@ services:
|
||||||
command: [ "--reporter.grpc.host-port=jaeger-collector:14250", "--reporter.grpc.retry.max=1000" ]
|
command: [ "--reporter.grpc.host-port=jaeger-collector:14250", "--reporter.grpc.retry.max=1000" ]
|
||||||
container_name: jaeger-agent
|
container_name: jaeger-agent
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
ports:
|
expose:
|
||||||
- "127.0.0.1:6831:6831/udp"
|
- 6831
|
||||||
- "127.0.0.1:6832:6832/udp"
|
- 6832
|
||||||
- "127.0.0.1:5778:5778"
|
- 5778
|
||||||
environment:
|
environment:
|
||||||
- LOG_LEVEL=debug
|
- LOG_LEVEL=debug
|
||||||
networks:
|
networks:
|
||||||
|
@ -38,10 +38,10 @@ services:
|
||||||
command: [ "--es.num-shards=1", "--es.num-replicas=0", "--es.server-urls=http://elasticsearch:9200" ]
|
command: [ "--es.num-shards=1", "--es.num-replicas=0", "--es.server-urls=http://elasticsearch:9200" ]
|
||||||
container_name: jaeger-collector
|
container_name: jaeger-collector
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
ports:
|
expose:
|
||||||
- "127.0.0.1:14269:14269"
|
- 14269
|
||||||
- "127.0.0.1:14268:14268"
|
- 14268
|
||||||
- "127.0.0.1:14250:14250"
|
- 14250
|
||||||
environment:
|
environment:
|
||||||
- SPAN_STORAGE_TYPE=elasticsearch
|
- SPAN_STORAGE_TYPE=elasticsearch
|
||||||
- LOG_LEVEL=debug
|
- LOG_LEVEL=debug
|
||||||
|
@ -56,9 +56,9 @@ services:
|
||||||
command: [ "--es.num-shards=1", "--es.num-replicas=0", "--es.server-urls=http://elasticsearch:9200" ]
|
command: [ "--es.num-shards=1", "--es.num-replicas=0", "--es.server-urls=http://elasticsearch:9200" ]
|
||||||
container_name: jaeger-query
|
container_name: jaeger-query
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
ports:
|
expose:
|
||||||
- "127.0.0.1:16686:16686"
|
- 16686
|
||||||
- "127.0.0.1:16687:16687"
|
- 16687
|
||||||
environment:
|
environment:
|
||||||
- SPAN_STORAGE_TYPE=elasticsearch
|
- SPAN_STORAGE_TYPE=elasticsearch
|
||||||
- LOG_LEVEL=debug
|
- LOG_LEVEL=debug
|
||||||
|
@ -77,8 +77,8 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
# This dir needs to be chowned to 1000:1000
|
# This dir needs to be chowned to 1000:1000
|
||||||
- ./docker/data/elasticsearch/data:/usr/share/elasticsearch/data
|
- ./docker/data/elasticsearch/data:/usr/share/elasticsearch/data
|
||||||
ports:
|
expose:
|
||||||
- "127.0.0.1:9200:9200/tcp"
|
- 9200
|
||||||
networks:
|
networks:
|
||||||
shared:
|
shared:
|
||||||
ipv4_address: 10.10.10.93
|
ipv4_address: 10.10.10.93
|
||||||
|
|
Reference in New Issue