Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Server

Notices

Reply
 
Thread Tools Search this Thread
Old 07-09-2024, 10:15 PM   #1
Whalehead
Junior Member
Whalehead began at the beginning.
 
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!
Whalehead is offline   Reply With Quote
Old 07-10-2024, 12:01 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,569
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
kovidgoyal is offline   Reply With Quote
Advert
Old 07-10-2024, 12:35 AM   #3
Whalehead
Junior Member
Whalehead began at the beginning.
 
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!
Whalehead is offline   Reply With Quote
Old 07-10-2024, 12:38 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,569
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.
kovidgoyal is offline   Reply With Quote
Old 07-10-2024, 09:47 AM   #5
Whalehead
Junior Member
Whalehead began at the beginning.
 
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?
Whalehead is offline   Reply With Quote
Advert
Old 07-10-2024, 10:44 AM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,569
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
kovidgoyal is offline   Reply With Quote
Old 07-10-2024, 11:45 AM   #7
Wiggo
Leftutti
Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.
 
Wiggo's Avatar
 
Posts: 491
Karma: 1153449
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
Quote:
Originally Posted by Whalehead View Post
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?
It's been too long since I used Calibre-Web, but it should all work if you follow the guideline from GitHub.
I think I set it up via Docker Compose back then and you can specify all the details in the yaml file
Wiggo is offline   Reply With Quote
Old 07-11-2024, 03:21 AM   #8
rantanplan
Weirdo
rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.
 
Posts: 724
Karma: 9081544
Join Date: Nov 2019
Location: Wuppertal, Germany
Device: Tolino Shine Color, Tolino Vision 6, Kobo Clara 2E, Boox Note Air 2+
Quote:
Originally Posted by Whalehead View Post
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!
Can you please share your docker-compose.yml file? It shouldn't be more to do for you than correctly configuring the volumes parameters.
rantanplan is offline   Reply With Quote
Old 07-13-2024, 11:53 AM   #9
Whalehead
Junior Member
Whalehead began at the beginning.
 
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
Whalehead is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 08:08 AM.


MobileRead.com is a privately owned, operated and funded community.