From 07f58ccf9ba5c159b304c0bf23b38a75df40a777 Mon Sep 17 00:00:00 2001 From: Jordan Date: Thu, 25 May 2023 16:44:43 -0400 Subject: [PATCH] Extract qbittorrent creds into env vars --- .env.example | 2 ++ docker-compose.yml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index 13a6e8e..81ec322 100644 --- a/.env.example +++ b/.env.example @@ -13,6 +13,8 @@ HOSTNAME=localhost ADGUARD_HOSTNAME= ADGUARD_USERNAME= ADGUARD_PASSWORD= +QBITTORRENT_USERNAME=admin +QBITTORRENT_PASSWORD=adminadmin DNS_CHALLENGE=true DNS_CHALLENGE_PROVIDER=cloudflare LETS_ENCRYPT_CA_SERVER="https://acme-v02.api.letsencrypt.org/directory" diff --git a/docker-compose.yml b/docker-compose.yml index 648bd37..14d3083 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -167,8 +167,8 @@ services: - homepage.weight=5 - homepage.widget.type=qbittorrent - homepage.widget.url=http://vpn:8080 - - homepage.widget.username=admin - - homepage.widget.password=adminadmin + - homepage.widget.username=${QBITTORRENT_USERNAME} + - homepage.widget.password=${QBITTORRENT_PASSWORD} vpn: image: thrnz/docker-wireguard-pia container_name: vpn