-
-
Notifications
You must be signed in to change notification settings - Fork 491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ADD: Readarr - an ebook collection manager for Usenet and BitTorrent users #580
Open
bcurran3
wants to merge
15
commits into
davestephens:main
Choose a base branch
from
bcurran3:patch-58
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 10 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
61d47e3
readarr add
bcurran3 0698d7f
readarr add
bcurran3 a8d8e8b
readarr add
bcurran3 36f9aab
Update main.yml
bcurran3 bbf728a
readarr add
bcurran3 41edb0a
readarr add
bcurran3 2f49bd1
readarr add
bcurran3 4c711ab
Update main.yml
bcurran3 8bf3c75
Update main.yml
bcurran3 e934839
Update main.yml
bcurran3 c6053a0
Update main.yml
bcurran3 fc0c4d1
Update main.yml
bcurran3 47afb11
Update main.yml
bcurran3 026b9e1
Update main.yml
bcurran3 55cece4
Update main.yml
bcurran3 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Readarr | ||
|
||
Homepage: <https://readarr.com/> | ||
Readarr is a ebook collection manager for Usenet and BitTorrent users. It can monitor multiple RSS feeds for new books from your favorite authors and will interface with clients and indexers to grab, sort, and rename them. | ||
|
||
## Usage | ||
|
||
Set `readarr_enabled: true` in your `inventories/<your_inventory>/nas.yml` file. | ||
|
||
The Readarr web interface can be found at <http://ansible_nas_host_or_ip:8787>. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
# enable or disable the application | ||
readarr_enabled: false | ||
readarr_available_externally: false | ||
|
||
# directories | ||
readarr_data_directory: "{{ docker_home }}/readarr" | ||
readarr_download_directory: "{{ downloads_root }}" | ||
|
||
# uid / gid | ||
readarr_user_id: "998" | ||
readarr_group_id: "1001" | ||
# network | ||
readarr_hostname: "readarr" | ||
readarr_port: "8787" | ||
|
||
# specs | ||
readarr_memory: "1g" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
- name: Create Readarr Directories | ||
file: | ||
path: "{{ item }}" | ||
state: directory | ||
with_items: | ||
- "{{ readarr_data_directory }}" | ||
- "{{ readarr_data_directory }}/config" | ||
|
||
- name: Create Readarr Docker Container | ||
docker_container: | ||
name: readarr | ||
image: linuxserver/readarr:nightly | ||
davestephens marked this conversation as resolved.
Show resolved
Hide resolved
|
||
pull: true | ||
volumes: | ||
- "{{ readarr_data_directory }}/config:/config" | ||
- "{{ books_root }}:/books" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please abstract this the same as There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
||
- "{{ readarr_download_directory }}:/downloads:rw" | ||
env: | ||
TZ: "{{ ansible_nas_timezone }}" | ||
PUID: "{{ readarr_user_id }}" | ||
PGID: "{{ readarr_group_id }}" | ||
ports: | ||
- "{{ readarr_port }}:8787" | ||
restart_policy: unless-stopped | ||
labels: | ||
traefik.enable: "{{ readarr_available_externally | string }}" | ||
traefik.http.routers.readarr.rule: "Host(`{{ readarr_hostname }}.{{ ansible_nas_domain }}`)" | ||
traefik.http.routers.readarr.tls.certresolver: "letsencrypt" | ||
traefik.http.routers.readarr.tls.domains[0].main: "{{ ansible_nas_domain }}" | ||
traefik.http.routers.readarr.tls.domains[0].sans: "*.{{ ansible_nas_domain }}" | ||
traefik.http.services.readarr.loadbalancer.server.port: "8787" | ||
memory: "{{ readarr_memory }}" |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where did this uid / gid come from?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. 998 is my ansible-nas user. I'll have to go test and figure out why I choose that long ago. Probably should be 1000 if 0 doesn't work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated to use root like all the other *arr linuxserver app defaults