This commit is contained in:
reonokiy 2025-05-16 18:27:52 +08:00
parent 4548ff398d
commit 47f64bf6fb
Signed by: reonokiy
SSH key fingerprint: SHA256:2VjKpUxMIe0QYY3OVnOMuPiB0X5pvrIpJ+UiyFhxtq0
3 changed files with 11 additions and 20 deletions

View file

@ -23,9 +23,9 @@ services:
restart: always
command: [ "--config", "/etc/vector/vector.toml" ]
environment:
OTEL_URI: ${OTEL_URI}
OTEL_USER: ${OTEL_USER}
OTEL_PASSWORD: ${OTEL_PASSWORD}
OTLP_URI: ${OTLP_URI}
OTLP_USER: ${OTLP_USER}
OTLP_PASSWORD: ${OTLP_PASSWORD}
volumes:
- ${VECTOR_CONFIG_PATH:-./vector.toml}:/etc/vector/vector.toml:ro
- ${DATA_DIR:-./data}/vector:/var/lib/vector:Z