Skip to content

Commit 508e2e5

Browse files
authored
feat(autobrr): Add Autobrr service to docker-compose (#174)
1 parent 59abeca commit 508e2e5

File tree

4 files changed

+34
-0
lines changed

4 files changed

+34
-0
lines changed

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ JELLYFIN_API_KEY=
3737
JELLYSEERR_API_KEY=
3838
SABNZBD_API_KEY=
3939
IMMICH_API_KEY=
40+
AUTOBRR_API_KEY=
4041
HOMEASSISTANT_ACCESS_TOKEN=
4142
HOMEPAGE_VAR_TITLE="Docker-Compose NAS"
4243
HOMEPAGE_VAR_SEARCH_PROVIDER=google

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,6 @@ docker-compose.override.yml
2323
/calibre-web
2424
/cleanuparr
2525
/cross-seed
26+
/autobrr
2627
!/cleanuparr/blacklist.json
2728
!/cleanuparr/logs/.gitkeep

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ I am running it in Ubuntu Server 22.04; I also tested this setup on a [Synology
8989
| [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 |
9090
| [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 |
9191
| [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) | |
92+
| [Autobrr](https://github.com/autobrr/autobrr) | Optional - Autobrr is a tool for automating the downloading of torrents<br/>Enable with `COMPOSE_PROFILES=autobrr` | [autobrr/autobrr](https://ghcr.io/autobrr/autobrr) | /autobrr |
9293

9394
Optional containers are not enabled by default, they need to be enabled,
9495
see [Optional Services](#optional-services) for more information.
@@ -139,6 +140,7 @@ If you want to show Jellyfin information in the homepage, create it in Jellyfin
139140
| `JELLYFIN_API_KEY` | Jellyfin API key to show information in the homepage | |
140141
| `JELLYSEERR_API_KEY` | Jellyseer API key to show information in the homepage | |
141142
| `SABNZBD_API_KEY` | Sabnzbd API key to show information in the homepage | |
143+
| `AUTOBRR_API_KEY` | Autobrr API key to show information in the homepage | |
142144
| `HOMEPAGE_VAR_TITLE` | Title of the homepage | `Docker-Compose NAS` |
143145
| `HOMEPAGE_VAR_SEARCH_PROVIDER` | Homepage search provider, [see list here](https://gethomepage.dev/en/widgets/search/) | `google` |
144146
| `HOMEPAGE_VAR_HEADER_STYLE` | Homepage header style, [see list here](https://gethomepage.dev/en/configs/settings/#header-style) | `boxed` |

docker-compose.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,36 @@ services:
237237
- traefik.http.services.flaresolverr.loadbalancer.server.port=8191
238238
profiles:
239239
- flaresolverr
240+
autobrr:
241+
container_name: autobrr
242+
image: ghcr.io/autobrr/autobrr:latest
243+
restart: always
244+
environment:
245+
- TZ=${TIMEZONE}
246+
- AUTOBRR__BASE_URL=/autobrr/
247+
user: ${USER_ID}:${GROUP_ID}
248+
volumes:
249+
- ${CONFIG_ROOT:-.}/autobrr:/config
250+
labels:
251+
- traefik.enable=true
252+
- traefik.http.middlewares.autobrr-strip.stripprefix.prefixes=/autobrr
253+
- traefik.http.middlewares.autobrr-strip.stripprefix.forceSlash=true
254+
- traefik.http.routers.autobrr.rule=(Host(`${HOSTNAME}`) && PathPrefix(`/autobrr`))
255+
- traefik.http.routers.autobrr.tls=true
256+
- traefik.http.routers.autobrr.tls.certresolver=myresolver
257+
- traefik.http.services.autobrr.loadbalancer.server.port=7474
258+
- traefik.http.routers.autobrr.middlewares=autobrr-strip
259+
- homepage.group=Download
260+
- homepage.name=Autobrr
261+
- homepage.icon=autobrr.png
262+
- homepage.href=/autobrr
263+
- homepage.description=Torrent download automation
264+
- homepage.weight=7
265+
- homepage.widget.type=autobrr
266+
- homepage.widget.url=http://autobrr:7474
267+
- homepage.widget.key=${AUTOBRR_API_KEY}
268+
profiles:
269+
- autobrr
240270
qbittorrent:
241271
image: lscr.io/linuxserver/qbittorrent:libtorrentv1
242272
container_name: qbittorrent

0 commit comments

Comments
 (0)