From cf9d8881f0306630f41b8df3d46e7cd952585f90 Mon Sep 17 00:00:00 2001 From: Colin Hebert Date: Sun, 30 Apr 2023 01:55:13 +1000 Subject: [PATCH] Force service name --- services/torrents/config/01-natpmp-install | 1 + services/torrents/docker-compose.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/services/torrents/config/01-natpmp-install b/services/torrents/config/01-natpmp-install index 22ac15b..4120264 100644 --- a/services/torrents/config/01-natpmp-install +++ b/services/torrents/config/01-natpmp-install @@ -4,4 +4,5 @@ echo "Installing Git..." apk add -u git echo "Installing py-natpmp" +rm -r /py-natpmp || echo "py-natpmp clean" git clone https://github.com/yimingliu/py-natpmp.git /py-natpmp diff --git a/services/torrents/docker-compose.yml b/services/torrents/docker-compose.yml index e51f085..ec54ab6 100644 --- a/services/torrents/docker-compose.yml +++ b/services/torrents/docker-compose.yml @@ -34,6 +34,7 @@ services: labels: - traefik.enable=true - traefik.http.routers.qbittorrent${TORRENT_SUFFIX}.middlewares=authelia@file + - com.docker.compose.service=qbittorrent${TORRENT_SUFFIX} cross-seed: hostname: cross-seed${TORRENT_SUFFIX}