diff --git a/CHANGELOG.md b/CHANGELOG.md index 0906b9a361..0256ebf0cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,8 @@ the release. * [accountingservice] bump OpenTelemetry .NET Automatic Instrumentation to 1.8.0 together with other dependencies ([#1727](https://github.com/open-telemetry/opentelemetry-demo/pull/1727)) +* [chore] Fix binding for host's volume mount + ([#1728](https://github.com/open-telemetry/opentelemetry-demo/pull/1728)) ## 1.11.1 diff --git a/docker-compose.minimal.yml b/docker-compose.minimal.yml index f10ad9470a..68fe04d93e 100644 --- a/docker-compose.minimal.yml +++ b/docker-compose.minimal.yml @@ -585,7 +585,7 @@ services: command: [ "--config=/etc/otelcol-config.yml", "--config=/etc/otelcol-config-extras.yml" ] user: 0:0 volumes: - - ${HOST_FILESYSTEM}:/hostfs:ro + - ${HOST_FILESYSTEM}:/hostfs:ro,rslave - ${DOCKER_SOCK}:/var/run/docker.sock:ro - ${OTEL_COLLECTOR_CONFIG}:/etc/otelcol-config.yml - ${OTEL_COLLECTOR_CONFIG_EXTRAS}:/etc/otelcol-config-extras.yml diff --git a/docker-compose.yml b/docker-compose.yml index ab38c239ae..33358b6f4a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -696,7 +696,7 @@ services: command: [ "--config=/etc/otelcol-config.yml", "--config=/etc/otelcol-config-extras.yml" ] user: 0:0 volumes: - - ${HOST_FILESYSTEM}:/hostfs:ro + - ${HOST_FILESYSTEM}:/hostfs:ro,rslave - ${DOCKER_SOCK}:/var/run/docker.sock:ro - ${OTEL_COLLECTOR_CONFIG}:/etc/otelcol-config.yml - ${OTEL_COLLECTOR_CONFIG_EXTRAS}:/etc/otelcol-config-extras.yml