Extract qbittorrent creds into env vars

This commit is contained in:
Jordan 2023-05-25 16:44:43 -04:00
parent 3b27e1ab3e
commit 07f58ccf9b
2 changed files with 4 additions and 2 deletions

View File

@ -13,6 +13,8 @@ HOSTNAME=localhost
ADGUARD_HOSTNAME= ADGUARD_HOSTNAME=
ADGUARD_USERNAME= ADGUARD_USERNAME=
ADGUARD_PASSWORD= ADGUARD_PASSWORD=
QBITTORRENT_USERNAME=admin
QBITTORRENT_PASSWORD=adminadmin
DNS_CHALLENGE=true DNS_CHALLENGE=true
DNS_CHALLENGE_PROVIDER=cloudflare DNS_CHALLENGE_PROVIDER=cloudflare
LETS_ENCRYPT_CA_SERVER="https://acme-v02.api.letsencrypt.org/directory" LETS_ENCRYPT_CA_SERVER="https://acme-v02.api.letsencrypt.org/directory"

View File

@ -167,8 +167,8 @@ services:
- homepage.weight=5 - homepage.weight=5
- homepage.widget.type=qbittorrent - homepage.widget.type=qbittorrent
- homepage.widget.url=http://vpn:8080 - homepage.widget.url=http://vpn:8080
- homepage.widget.username=admin - homepage.widget.username=${QBITTORRENT_USERNAME}
- homepage.widget.password=adminadmin - homepage.widget.password=${QBITTORRENT_PASSWORD}
vpn: vpn:
image: thrnz/docker-wireguard-pia image: thrnz/docker-wireguard-pia
container_name: vpn container_name: vpn