Skip to content

Kayli/qbittorrent

Repository files navigation

qBittorrent Docker Setup

A convenient Docker setup for qBittorrent with a macOS desktop shortcut for easy container management.

Features

  • Docker Compose configuration for qBittorrent
  • macOS desktop shortcut for easy container management
  • Automated health checks
  • Configured for local development

Prerequisites

  • macOS
  • Docker Desktop
  • Python 3.x
  • Poetry (Python package manager)

Installation

  1. Clone the repository:

    git clone https://github.com/YOUR_USERNAME/qbittorrent.git
    cd qbittorrent
  2. Install dependencies using Poetry:

    poetry install
  3. Create desktop shortcut:

    ./create_shortcut.sh

Usage

Desktop Shortcut

  1. Double-click QBittorrent.app on your desktop to:
    • Start the qBittorrent container
    • Open the web UI in your default browser
  2. Use ⌘Q to:
    • Stop the container
    • Clean up resources

Note: The first time you run it, macOS might ask for permissions to:

  • Control Terminal
  • Access network

Health Checks

poetry run pytest

Verifies:

  • Web UI accessibility
  • Container status
  • Port mappings

Configuration

Project Structure

  • docker-compose.yml - Docker configuration
  • test_qbittorrent.py - Health checks
  • create_shortcut.sh - Desktop shortcut creator
  • pyproject.toml - Poetry dependencies and configuration

Development

  1. Make changes to the code
  2. Verify everything works:
    poetry run pytest
  3. If you modify the shortcut behavior, recreate it:
    ./create_shortcut.sh

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published