Skip to content

Commit

Permalink
Update multi-compose.md
Browse files Browse the repository at this point in the history
  • Loading branch information
n0npax authored May 26, 2023
1 parent 4b64223 commit 91c9864
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions multi-compose.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ To achieve this goal, please run `run-o11y-run` with `--external-network` flag
run-o11y-run start --external-network
```

and modify your dockerfile to use `o11y` network like:
and modify your dockerfile to use `o11y` network. Sample setup may look like:

```yaml
networks:
Expand All @@ -23,12 +23,12 @@ services:
networks:
- o11y
environments:
- OTEL_EXPORTER_OTLP_ENDPOINT: run-o11y-run-otel-collector:43..
- OTEL_EXPORTER_OTLP_ENDPOINT: otel-collector:431...

bar:
image: ...
networks:
- o11y
environemnts:
- OTEL_EXPORTER_OTLP_ENDPOINT: run-o11y-run-otel-collector:43..
```
- OTEL_EXPORTER_OTLP_ENDPOINT: otel-collector:431...
```

0 comments on commit 91c9864

Please sign in to comment.