Initial commit: webshare-api
Torznab + fake qBittorrent proxy for Webshare.cz, with Compose/Docker packaging, MIT license, and tests.
This commit is contained in:
20
compose.yaml
Normal file
20
compose.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
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
|
||||
Reference in New Issue
Block a user