Update docker-compose.yml

This commit is contained in:
pashko 2024-12-23 20:41:55 +08:00
parent 34757b3f54
commit 6f19b628c8

View File

@ -71,7 +71,7 @@ services:
restart: always restart: always
volumes: volumes:
- ./config/tempo/tempo.yaml:/etc/tempo.yaml - ./config/tempo/tempo.yaml:/etc/tempo.yaml
- ./data.tempo-storage:/tmp/tempo - ./data/tempo-storage:/tmp/tempo
command: command:
- '--config.file=etc/tempo.yaml' - '--config.file=etc/tempo.yaml'
ports: ports:
@ -85,7 +85,8 @@ services:
image: ${OTEL-COLLECTOR_IMAGE} image: ${OTEL-COLLECTOR_IMAGE}
container_name: ${OTEL-COLLECTOR_CONTAINER_NAME} container_name: ${OTEL-COLLECTOR_CONTAINER_NAME}
hostname: ${OTEL-COLLECTOR_CONTAINER_NAME} hostname: ${OTEL-COLLECTOR_CONTAINER_NAME}
command: ["--config=/etc/otel-collector-config.yaml"] command:
- '--config=/etc/otel-collector-config.yaml'
volumes: volumes:
- ./configs/otel-collector-configs/config.yaml:/etc/otel-collector-config.yaml - ./configs/otel-collector-configs/config.yaml:/etc/otel-collector-config.yaml
ports: ports: