Skip to content

Commit 59abeca

Browse files
authored
feat: Add cross-seed service to docker-compose (#173)
1 parent 1c7e121 commit 59abeca

File tree

3 files changed

+39
-1
lines changed

3 files changed

+39
-1
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ docker-compose.override.yml
1010
/prowlarr
1111
/lidarr
1212
/bazarr
13+
/huntarr
1314
/qbittorrent
1415
/pia
1516
/pia-shared
@@ -20,6 +21,7 @@ docker-compose.override.yml
2021
/adguardhome/work
2122
/sabnzbd
2223
/calibre-web
23-
/cleanuparr/*
24+
/cleanuparr
25+
/cross-seed
2426
!/cleanuparr/blacklist.json
2527
!/cleanuparr/logs/.gitkeep

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ I am running it in Ubuntu Server 22.04; I also tested this setup on a [Synology
2424
- [File Structure](#file-structure)
2525
- [Download Client](#download-client)
2626
- [Prowlarr](#prowlarr)
27+
- [Cross-Seed](#cross-seed)
2728
- [qBittorrent](#qbittorrent)
2829
- [Jellyfin](#jellyfin)
2930
- [Homepage](#homepage)
@@ -87,6 +88,7 @@ I am running it in Ubuntu Server 22.04; I also tested this setup on a [Synology
8788
| [Vaultwarden](https://github.com/dani-garcia/vaultwarden) | Optional - Password manager<br/>Enable with `COMPOSE_PROFILES=vaultwarden` | [dani-garcia/vaultwarden](https://ghcr.io/dani-garcia/vaultwarden) | /vaultwarden |
8889
| [Cleanuparr](https://github.com/Cleanuparr/Cleanuparr) | Optional - Cleanuparr is a tool for automating the cleanup of unwanted or blocked files in Sonarr and Radarr<br/>Enable with `COMPOSE_PROFILES=cleanuparr` | [cleanuparr/cleanuparr](https://ghcr.io/cleanuparr/cleanuparr) | /cleanuparr |
8990
| [Huntarr](https://github.com/PlexGuide/Huntarr) | Optional - Huntarr is a specialized utility that automates discovering missing and upgrading your media collection<br/>Enable with `COMPOSE_PROFILES=huntarr` | [plexguide/huntarr](https://ghcr.io/plexguide/huntarr) | /huntarr |
91+
| [Cross-Seed](https://github.com/cross-seed/cross-seed) | Optional - Cross-Seed is a tool for automating the cross-seeding of torrents<br/>Enable with `COMPOSE_PROFILES=cross-seed` | [cross-seed/cross-seed](https://ghcr.io/cross-seed/cross-seed) | |
9092

9193
Optional containers are not enabled by default, they need to be enabled,
9294
see [Optional Services](#optional-services) for more information.
@@ -349,6 +351,29 @@ Multiple optional services can be enabled separated by commas: `COMPOSE_PROFILES
349351

350352
In Prowlarr, add the FlareSolverr indexer with the URL http://flaresolverr:8191/
351353

354+
### Cross-Seed
355+
356+
Enable Cross-Seed by setting `COMPOSE_PROFILES=cross-seed`.
357+
358+
Generate the configuration file with `docker compose run -v ./cross-seed:/config cross-seed gen-config`.
359+
360+
Modify the configuration file as follows:
361+
362+
```js
363+
module.exports = {
364+
...
365+
torznab: [
366+
"http://prowlarr:9696/prowlarr/1/api?apikey=<api_key>",
367+
...
368+
],
369+
sonarr: ["http://sonarr:8989/sonarr?apikey=<api_key>"],
370+
radarr: ["http://radarr:7878/radarr?apikey=<api_key>"],
371+
torrentClients: ["qbittorrent:http://admin:adminadmin@vpn:8080"],
372+
linkDirs: ["/data/torrents"],
373+
...
374+
}
375+
```
376+
352377
### SABnzbd
353378

354379
Enable SABnzbd by setting `COMPOSE_PROFILES=sabnzbd`. It will be accessible at `/sabnzbd`.

docker-compose.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,17 @@ services:
313313
- net.ipv6.conf.all.disable_ipv6=1
314314
- net.ipv6.conf.lo.disable_ipv6=1
315315
restart: always
316+
cross-seed:
317+
image: ghcr.io/cross-seed/cross-seed:latest
318+
container_name: cross-seed
319+
user: ${USER_ID}:${GROUP_ID}
320+
volumes:
321+
- ${CONFIG_ROOT:-.}/cross-seed:/config
322+
- ${DOWNLOAD_ROOT}:/data/torrents
323+
command: daemon
324+
restart: always
325+
profiles:
326+
- cross-seed
316327
unpackerr:
317328
image: ghcr.io/unpackerr/unpackerr:latest
318329
container_name: unpackerr

0 commit comments

Comments
 (0)