Skip to content

Commit

Permalink
chore: disable non-essential services in dev
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixNgFender committed Mar 17, 2024
1 parent 63e3b15 commit f275510
Showing 1 changed file with 34 additions and 35 deletions.
69 changes: 34 additions & 35 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,41 +80,40 @@ services:
depends_on:
minio:
condition: service_healthy
# jaeger-all-in-one:
# image: jaegertracing/all-in-one:1
# restart: always
# ports:
# - '16686:16686'
# - '14268'
# - '14250'

jaeger-all-in-one:
image: jaegertracing/all-in-one:1
restart: always
ports:
- '16686:16686'
- '14268'
- '14250'

otel-collector:
image: otel/opentelemetry-collector:0.67.0
restart: always
command: ['--config=/etc/otel-collector-config.yaml']
volumes:
- ./otel-collector-config.yaml:/etc/otel-collector-config.yaml
ports:
- '1888:1888' # pprof extension
- '8888:8888' # Prometheus metrics exposed by the collector
- '8889:8889' # Prometheus exporter metrics
- '13133:13133' # health_check extension
- '4317:4317' # OTLP gRPC receiver
- '4318:4318' # OTLP HTTP receiver
- '55679:55679' # zpages extension
depends_on:
- jaeger-all-in-one
# otel-collector:
# image: otel/opentelemetry-collector:0.67.0
# restart: always
# command: ['--config=/etc/otel-collector-config.yaml']
# volumes:
# - ./otel-collector-config.yaml:/etc/otel-collector-config.yaml
# ports:
# - '1888:1888' # pprof extension
# - '8888:8888' # Prometheus metrics exposed by the collector
# - '8889:8889' # Prometheus exporter metrics
# - '13133:13133' # health_check extension
# - '4317:4317' # OTLP gRPC receiver
# - '4318:4318' # OTLP HTTP receiver
# - '55679:55679' # zpages extension
# depends_on:
# - jaeger-all-in-one

prometheus:
image: prom/prometheus:v2.50.1
container_name: prometheus
restart: always
volumes:
- ./prometheus.yaml:/etc/prometheus/prometheus.yml
- prometheus-data:/prometheus
ports:
- '9090:9090'
# prometheus:
# image: prom/prometheus:v2.50.1
# container_name: prometheus
# restart: always
# volumes:
# - ./prometheus.yaml:/etc/prometheus/prometheus.yml
# - prometheus-data:/prometheus
# ports:
# - '9090:9090'

volumes:
postgres-data:
Expand All @@ -123,5 +122,5 @@ volumes:
driver: local
minio_data:
driver: local
prometheus-data:
driver: local
# prometheus-data:
# driver: local

0 comments on commit f275510

Please sign in to comment.