ofelia: limit scope to mailcow project (#5776)

* Filter to limit ofelia scope

See https://github.com/mailcow/mailcow-dockerized/issues/5775

* compose: added ${COMPOSE_PROJECT_NAME} ENV to ofelia container
This commit is contained in:
Kitof 2024-08-08 08:42:50 +02:00 committed by GitHub
parent 7f790c5360
commit 824a473fea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -594,9 +594,10 @@ services:
ofelia-mailcow:
image: mcuadros/ofelia:latest
restart: always
command: daemon --docker
command: daemon --docker -f label=com.docker.compose.project=${COMPOSE_PROJECT_NAME}
environment:
- TZ=${TZ}
- COMPOSE_PROJECT_NAME=${COMPOSE_PROJECT_NAME}
depends_on:
- sogo-mailcow
- dovecot-mailcow