nyaa-jelly-tools/nyaa-tools-old/docker-compose.yml
2026-09-14 11:37:49 -04:00

26 lines
776 B
YAML

services:
web:
build: .
image: nyaa-tools:latest
ports:
- "5000:5000"
environment:
- PASSWORD=${NYAA_WEB_PASSWORD}
volumes:
- ./config:/etc/nyaa-tools
restart: unless-stopped
fetch:
build: .
image: nyaa-tools:latest
entrypoint: ["/app/docker/entrypoint-fetch.sh"]
environment:
- FETCH_INTERVAL=600
volumes:
- ./config:/etc/nyaa-tools
# transmission's download dir and the jellyfin library base_path (set
# in config/config.toml) must resolve to the SAME bind mount below —
# fetch.py hardlinks finished files, which only works within one
# filesystem/mount. Point both at a shared host media root, e.g.:
- /path/to/host/media:/mnt/media
restart: unless-stopped