forked from hugegraph/hugegraph-sync
57 lines
1.8 KiB
YAML
57 lines
1.8 KiB
YAML
#
|
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
|
# contributor license agreements. See the NOTICE file distributed with
|
|
# this work for additional information regarding copyright ownership.
|
|
# The ASF licenses this file to You under the Apache License, Version 2.0
|
|
# (the "License"); you may not use this file except in compliance with
|
|
# the License. You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
#
|
|
|
|
version: "3"
|
|
|
|
services:
|
|
tempo:
|
|
image: grafana/tempo:latest
|
|
command: ["-config.file=/etc/tempo.yaml"]
|
|
volumes:
|
|
- ../conf/tempo.yaml:/etc/tempo.yaml
|
|
- ../data/tempo:/tmp/tempo
|
|
ports:
|
|
- "3200:3200" # tempo
|
|
- "9095:9095" # tempo grpc
|
|
- "4317:4317" # otlp grpc
|
|
- "4318:4318" # otlp http
|
|
|
|
prometheus:
|
|
image: prom/prometheus:latest
|
|
command:
|
|
- --config.file=/etc/prometheus.yaml
|
|
- --web.enable-remote-write-receiver
|
|
- --enable-feature=exemplar-storage
|
|
- --storage.tsdb.path=/tmp/data
|
|
volumes:
|
|
- ../conf/prometheus.yaml:/etc/prometheus.yaml
|
|
- ../data/prometheus:/tmp/data
|
|
ports:
|
|
- "9090:9090"
|
|
|
|
grafana:
|
|
image: grafana/grafana:10.2.2
|
|
volumes:
|
|
- ../conf/grafana-datasources.yaml:/etc/grafana/provisioning/datasources/datasources.yaml
|
|
environment:
|
|
- GF_AUTH_ANONYMOUS_ENABLED=true
|
|
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
|
|
- GF_AUTH_DISABLE_LOGIN_FORM=true
|
|
- GF_FEATURE_TOGGLES_ENABLE=traceqlEditor traceQLStreaming metricsSummary
|
|
ports:
|
|
- "3000:3000"
|