From cf858ce666e358d287a1b83c2425cb00c88e27ef Mon Sep 17 00:00:00 2001 From: Colin Hebert Date: Sat, 6 May 2023 10:47:00 +1000 Subject: [PATCH] Comment on the -main auto-suffix --- services/torrents/docker-compose.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/services/torrents/docker-compose.yml b/services/torrents/docker-compose.yml index 93d9f13..641e90d 100644 --- a/services/torrents/docker-compose.yml +++ b/services/torrents/docker-compose.yml @@ -2,6 +2,7 @@ name: torrents${TORRENT_SUFFIX?TORRENT_SUFFIX variable required} services: qbittorrent: + # Set hostname to "SERVICE-main" if not suffix is provided. This avoids collisions with other instances using the service name as hostname (default on compose) hostname: qbittorrent${TORRENT_SUFFIX:--main} image: hotio/qbittorrent environment: @@ -42,6 +43,7 @@ services: - traefik.http.routers.qbittorrent${TORRENT_SUFFIX?}-api.middlewares=authelia-basic@file cross-seed: + # Set hostname to "SERVICE-main" if not suffix is provided. This avoids collisions with other instances using the service name as hostname (default on compose) hostname: cross-seed${TORRENT_SUFFIX:--main} image: crossseed/cross-seed profiles: [torrents${TORRENT_SUFFIX?}-xseed] @@ -60,6 +62,7 @@ services: restart: unless-stopped qbitmanage: + # Set hostname to "SERVICE-main" if not suffix is provided. This avoids collisions with other instances using the service name as hostname (default on compose) hostname: qbitmanage${TORRENT_SUFFIX:--main} image: hotio/qbitmanage environment: