Skip to content

Commit

Permalink
mongo service doesn't have labels to identify it (#17)
Browse files Browse the repository at this point in the history
The mongo service doesn't get properly managed by DDEV because it's missing the key labels.

This adds the labels.
  • Loading branch information
rfay authored Nov 13, 2023
1 parent 24702e5 commit 81eb765
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker-compose.xhgui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ services:
container_name: ddev-${DDEV_SITENAME}-xhgui-mongo
command: --storageEngine=wiredTiger
restart: always
labels:
com.ddev.site-name: ${DDEV_SITENAME}
com.ddev.approot: $DDEV_APPROOT
environment:
- MONGO_INITDB_DATABASE=xhprof
volumes:
Expand Down

0 comments on commit 81eb765

Please sign in to comment.