fix docker compose running with no such file error (#519)

* fix docker compose running with no such file error

* fix observability docker compose
This commit is contained in:
majinghe
2025-09-13 13:04:06 +08:00
committed by GitHub
parent f372ccf4a8
commit 4595bf7db6
4 changed files with 19 additions and 15 deletions

View File

@@ -41,7 +41,7 @@ services:
- rustfs_data_1:/data/rustfs1
- rustfs_data_2:/data/rustfs2
- rustfs_data_3:/data/rustfs3
- ./logs:/app/logs
- logs_data:/app/logs
networks:
- rustfs-network
restart: unless-stopped
@@ -95,7 +95,7 @@ services:
command:
- --config=/etc/otelcol-contrib/otel-collector.yml
volumes:
- ./.docker/observability/otel-collector.yml:/etc/otelcol-contrib/otel-collector.yml:ro
- ./.docker/observability/otel-collector-config.yaml:/etc/otelcol-contrib/otel-collector.yml:ro
ports:
- "4317:4317" # OTLP gRPC receiver
- "4318:4318" # OTLP HTTP receiver
@@ -219,3 +219,5 @@ volumes:
driver: local
redis_data:
driver: local
logs_data:
driver: local