Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(config): add environment variable support #4

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

s0up4200
Copy link
Contributor

@s0up4200 s0up4200 commented Dec 10, 2024

Examples

Config

clients:
  qbt:
  qbt2:
  deluge:

qBittorrent

TQM_CLIENTS_QBT_TYPE=qbittorrent
TQM_CLIENTS_QBT_ENABLED=true
TQM_CLIENTS_QBT_FILTER=default
TQM_CLIENTS_QBT_URL=https://qbittorrent.domain.com/
TQM_CLIENTS_QBT_USER=username
TQM_CLIENTS_QBT_PASSWORD=password
TQM_CLIENTS_QBT_DOWNLOAD_PATH=/downloads/torrents
TQM_CLIENTS_QBT_FREE_SPACE_PATH=/downloads/torrents
TQM_CLIENTS_QBT2_TYPE=qbittorrent
TQM_CLIENTS_QBT2_ENABLED=true
TQM_CLIENTS_QBT2_FILTER=default
TQM_CLIENTS_QBT2_URL=https://qbittorrent2.domain.com/
TQM_CLIENTS_QBT2_USER=username
TQM_CLIENTS_QBT2_PASSWORD=password
TQM_CLIENTS_QBT2_DOWNLOAD_PATH=/downloads/torrents
TQM_CLIENTS_QBT2_FREE_SPACE_PATH=/downloads/torrents

Deluge

TQM_CLIENTS_DELUGE_TYPE=deluge
TQM_CLIENTS_DELUGE_ENABLED=true
TQM_CLIENTS_DELUGE_FILTER=default
TQM_CLIENTS_DELUGE_HOST=localhost
TQM_CLIENTS_DELUGE_PORT=58846
TQM_CLIENTS_DELUGE_LOGIN=localclient
TQM_CLIENTS_DELUGE_PASSWORD=deluge-auth-password
TQM_CLIENTS_DELUGE_V2=true
TQM_CLIENTS_DELUGE_DOWNLOAD_PATH=/downloads/torrents/deluge
TQM_CLIENTS_DELUGE_FREE_SPACE_PATH=/downloads/torrents/deluge

Trackers

TQM_TRACKERS_BHD_API_KEY=your-api-key
TQM_TRACKERS_PTP_API_USER=your-api-user
TQM_TRACKERS_PTP_API_KEY=your-api-key

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant