Last active
April 28, 2020 11:52
-
-
Save metroid2010/feea4c8a64d0a09182c0ce3ecce1eaad to your computer and use it in GitHub Desktop.
ejemplo de docker-compose.yml para lanzar una instancia de qbittorrent
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '2.4' | |
| services: | |
| qbittorrent: | |
| image: linuxserver/qbittorrent | |
| restart: unless-stopped | |
| volumes: | |
| - /home/$USER/downloads:/downloads # where the files will be downloaded | |
| - /home/$USER/qbittorrent/config:/config # where the persistent configuration will be stored | |
| environment: | |
| - PUID=$UID # $USER uid, so that downloaded files belong to $USER, and not root | |
| - PGID=$GID | |
| - TZ=Europe/<city> # city | |
| - WEBUI_PORT=8080 # port that qBit web ui will use inside the container | |
| networks: | |
| - default | |
| ports: | |
| - 8080:8080 # port that will be exposed on host machine, mapped to webui port inside container | |
| - 6888:6888 # ports used for torrent protocol | |
| - 6888:6888/udp | |
| mem_limit: 256M # limit resources carefully! qBittorrent caches files in memory! | |
| cpu_percent: 50 | |
| cpu_count: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment