07-09-2024, 10:15 PM | #1 |
Junior Member
Posts: 7
Karma: 10
Join Date: Jul 2024
Device: Kindle Scribe
|
Docker container - need to access other volumes
I've installed Calibre in a docker container. It wants to look for my eBooks in /config/Calibre... but all of my eBooks (60GB) are on a share on /volume2/eBooks. How can I make Calibre/docker access my other volume? I did not allocate 'data' space on volume1 - only apps!
Thanks! |
07-10-2024, 12:01 AM | #2 |
creator of calibre
Posts: 44,563
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
If you want to specify a path to a library use the command line arguments. If you want to control locations of various other directories use the environmnet variables documented in the manual. https://manual.calibre-ebook.com/cus...ment-variables
|
Advert | |
|
07-10-2024, 12:35 AM | #3 |
Junior Member
Posts: 7
Karma: 10
Join Date: Jul 2024
Device: Kindle Scribe
|
Thanks for the quick response. I will look at environment variables, but I think all I need is just the location of my ebook library. I don't know how to give a docker container 'command line arguments' - so I'll have to figure that out.
Thanks! |
07-10-2024, 12:38 AM | #4 |
creator of calibre
Posts: 44,563
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
My advice would be to ditch docker, it provides nothing useful and just complicates your life. calibre binaries are already largely self contained, there is zero reason to dockerize them.
|
07-10-2024, 09:47 AM | #5 |
Junior Member
Posts: 7
Karma: 10
Join Date: Jul 2024
Device: Kindle Scribe
|
Interesting... I have no love for Docker, it just seemed if Plex could access external media, so could Calibre? I looked at the environment variables, and while I can change the location of the database, I did not see anything to change the media path outside of the container. I also could not find anything in command-line options. This may be a testament to my inability to comprehend what I'm reading? - hehe.
So can I set up Calibre (web?) on my NAS server and use via web interface? This way I can use Calibre from all my devices? |
Advert | |
|
07-10-2024, 10:44 AM | #6 |
creator of calibre
Posts: 44,563
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre --with-library /path/to/calibre/library/folder
calibre --help to learn about the command line options |
07-10-2024, 11:45 AM | #7 | |
Leftutti
Posts: 490
Karma: 1153449
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
|
Quote:
I think I set it up via Docker Compose back then and you can specify all the details in the yaml file |
|
07-11-2024, 03:21 AM | #8 | |
Weirdo
Posts: 721
Karma: 9081544
Join Date: Nov 2019
Location: Wuppertal, Germany
Device: Tolino Shine Color, Tolino Vision 6, Kobo Clara 2E, Boox Note Air 2+
|
Quote:
|
|
07-13-2024, 11:53 AM | #9 |
Junior Member
Posts: 7
Karma: 10
Join Date: Jul 2024
Device: Kindle Scribe
|
Yes, I did change the /volume1/docker/calibre:/:config:rw to /volume2/mypathto/ebooksshare:/config:rw... and it works just fine. Calibre is up and running in the docker container - accessing my ebooks share on another volume
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Links not rewriting in Docker Container | koesac | Recipes | 0 | 06-19-2023 10:30 AM |
Cannot access web server of Calibre running on Docker | ygreq | Server | 3 | 09-27-2022 01:16 PM |
Running Calibre in a Docker container: How can I connect to my Kobo? | TheRealJohnAdams | Server | 1 | 03-21-2022 02:27 AM |
MacOS: Two Calibre Volumes | elektronaut | Calibre | 0 | 02-04-2021 09:37 PM |
Splitting a Book into 2 Volumes? | TedPark | Workshop | 14 | 06-13-2008 01:11 PM |