diff --git a/Pia-QBittorrent/docker-compose.yml b/Pia-QBittorrent/docker-compose.yml new file mode 100644 index 0000000..174869f --- /dev/null +++ b/Pia-QBittorrent/docker-compose.yml @@ -0,0 +1,14 @@ +services: + pia-qbittorrent: + image: j4ym0/pia-qbittorrent + container_name: pia-qbittorrent + cap_add: + - NET_ADMIN + volumes: + - ${QBITTORRENT_CONFIG_DIR}:/config + - ${QBITTORRENT_DOWNLOAD_DIR}:/downloads + ports: + - ${QBITTORRENT_PORT}:8888 + restart: always + env_file: + - stack.env \ No newline at end of file diff --git a/Pia-QBittorrent/stack.env b/Pia-QBittorrent/stack.env new file mode 100644 index 0000000..5323838 --- /dev/null +++ b/Pia-QBittorrent/stack.env @@ -0,0 +1,8 @@ +QBITTORRENT_PORT=3004 +QBITTORRENT_CONFIG_DIR=/home/portainer/qbittorrent +QBITTORRENT_DOWNLOAD_DIR=/home/portainer/downloads +REGION= +USER= +PASSWORD= +HOSTHEADERVALIDATION=false +CSRFPROTECTION=false \ No newline at end of file