6adfd77236
- Default MOVE_MODE changed to copy so qBit can continue seeding - Add QBIT_CATEGORY env var (default "Stash") to filter torrents - Split compose into dev (build from source) and prod (pre-built image) - Fix Dockerfile COPY glob needing trailing slash - Update README and summary docs Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
49 lines
1.2 KiB
YAML
49 lines
1.2 KiB
YAML
services:
|
|
stash-handler:
|
|
build: .
|
|
container_name: stash-handler
|
|
restart: unless-stopped
|
|
environment:
|
|
QBIT_URL: "http://qbittorrent:8080"
|
|
QBIT_USERNAME: "admin"
|
|
QBIT_PASSWORD: "adminadmin"
|
|
STAGING_DIR: "/staging"
|
|
IMPORT_DIR: "/import"
|
|
DB_PATH: "/data/seen.db"
|
|
POLL_INTERVAL: "300"
|
|
MEDIA_EXTENSIONS: ".mp4,.mkv,.avi,.wmv,.mov,.webm,.flv,.m4v"
|
|
HASH_ALGORITHM: "sha256"
|
|
MOVE_MODE: "copy"
|
|
QBIT_CATEGORY: "Stash"
|
|
LOG_LEVEL: "DEBUG"
|
|
volumes:
|
|
- /data/staging:/staging:ro
|
|
- /data/stash-import:/import
|
|
- /data/stash-handler:/data
|
|
depends_on:
|
|
- qbittorrent
|
|
|
|
qbittorrent:
|
|
image: lscr.io/linuxserver/qbittorrent:latest
|
|
container_name: qbittorrent
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
volumes:
|
|
- /data/staging:/downloads
|
|
- /data/qbittorrent/config:/config
|
|
ports:
|
|
- "8080:8080"
|
|
restart: unless-stopped
|
|
|
|
stash:
|
|
image: stashapp/stash:latest
|
|
container_name: stash
|
|
volumes:
|
|
- /data/stash-import:/data/import
|
|
- /data/stash/config:/root/.stash
|
|
- /data/stash/library:/data/library
|
|
ports:
|
|
- "9999:9999"
|
|
restart: unless-stopped
|