From 824a473fea3227a82e4bfc1f135b7d1459691fcb Mon Sep 17 00:00:00 2001 From: Kitof Date: Thu, 8 Aug 2024 08:42:50 +0200 Subject: [PATCH] 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 --- docker-compose.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index e1b9f0fc62..a0fb03dcdb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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