Is it possible to run the aspire dashboard docker container from docker compose? #2593
Replies: 2 comments 2 replies
-
Of course you can! What's the issue? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Dashboard runs fine but it wasn't getting any data. I added the endpoint to send the open telemetry to and I have now got it working .AddOtlpExporter(exporterOptions => exporterOptions.Endpoint = new Uri("http://aspire_dashboard:18889")); |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Do you know if it is possible to run the aspire dashboard from docker compose?
I was thinking something like this but I don't think I have the mapping of ports between containers correct
version: "3.4"
services:
Api:
image: myapidockerimage
container_name: api
ports:
- 4317:4317
Aspire:
image: mcr.microsoft.com/dotnet/nightly/aspire-dashboard:8.0.0-preview.4
container_name: aspire_dashboard
ports:
- 18888:18888
- 4317:18889
Beta Was this translation helpful? Give feedback.
All reactions