-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
Don't mkdir books
#60
Comments
The If you want to store just the download cache, you could mount the books subdirectory like: |
So the The app creates a directory structure like the following:
@BrowncoatShadow Is correct in that you can modify the mount point of your docker file if you don't care about exposing the logs folder/files. This config will show the book files at the top level. services:
openbooks:
container_name: openBooks
image: evanbuss/openbooks:latest
environment:
- BASE_PATH=/openbooks/
volumes:
- - 'books:/books'
+ - 'books:/books/books'
ports:
- '17012:80'
restart: unless-stopped
command: --persist I agree that having two separate mount points (1 for books and 1 for logs) would be less confusing. I will keep it in mind. |
I should have tried this first, sorry. I assumed incorrectly that it would throw an error or something weird because the path was already created. That'll work. Thanks! |
Whoops. I always forget that the environment variable is separate from the the |
I would love to see a separate mountpoint for logs and books. Configuring the volume as |
Is it possible not to run
mkdir books
? I could be completely off base, but generally when I mount a volume to a path I'm expecting the data to be in that path. Making anotherbooks
directory in/books
seems redundant. This is not a huge deal though, just a thought.My Compose:
The text was updated successfully, but these errors were encountered: