Skip to content

Commit

Permalink
Add labels to service definitions.
Browse files Browse the repository at this point in the history
  • Loading branch information
slashrsm committed Jul 22, 2024
1 parent 0ef38dd commit fb1f6c1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docker-compose.gander.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
#ddev-generated
version: "3"
services:

# And put them in an OTEL collector pipeline...
otel-collector:
image: otel/opentelemetry-collector:0.61.0
container_name: ddev-${DDEV_SITENAME}-otel-collector
command: [ "--config=/etc/otel-collector.yaml" ]
labels:
com.ddev.site-name: ${DDEV_SITENAME}
com.ddev.approot: $DDEV_APPROOT
volumes:
- ./gander-config/otel-collector.yaml:/etc/otel-collector.yaml

Expand All @@ -15,6 +17,9 @@ services:
image: grafana/tempo:latest
container_name: ddev-${DDEV_SITENAME}-tempo
command: [ "-config.file=/etc/tempo.yaml" ]
labels:
com.ddev.site-name: ${DDEV_SITENAME}
com.ddev.approot: $DDEV_APPROOT
volumes:
- ./gander-config/tempo.yaml:/etc/tempo.yaml
- tempo-data:/tmp/tempo
Expand Down

0 comments on commit fb1f6c1

Please sign in to comment.