Files
webshare-api/compose.yaml
Michal Pemcak 3fcadfe973 Initial commit: webshare-api
Torznab + fake qBittorrent proxy for Webshare.cz, with Compose/Docker
packaging, MIT license, and tests.
2026-08-07 08:37:10 +02:00

21 lines
814 B
YAML

services:
webshare-api:
build: .
ports:
- "${PORT:-3001}:3001"
environment:
PORT: "3001"
BASE_URL: ${BASE_URL:-http://webshare-api:3001}
WEBSHARE_USERNAME: ${WEBSHARE_USERNAME:?set WEBSHARE_USERNAME}
WEBSHARE_PASSWORD: ${WEBSHARE_PASSWORD:?set WEBSHARE_PASSWORD}
DOWNLOAD_PATH: ${DOWNLOAD_PATH:-/downloads/webshare}
MEDIA_ROOT: ${MEDIA_ROOT:-/data}
MAX_CONCURRENT_DOWNLOADS: ${MAX_CONCURRENT_DOWNLOADS:-2}
SONARR_URL: ${SONARR_URL:-http://sonarr:8989}
SONARR_API_KEY: ${SONARR_API_KEY:-}
SONARR_SEARCH_INTERVAL_HOURS: ${SONARR_SEARCH_INTERVAL_HOURS:-2}
volumes:
# Mount the download directory used by the fake qBittorrent client
- ${DOWNLOAD_HOST_PATH:-./data/webshare}:/downloads/webshare
restart: unless-stopped