Skip to content
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

Would it work for Calibre-web on docker container #1

Open
Jdemuren opened this issue May 4, 2022 · 4 comments
Open

Would it work for Calibre-web on docker container #1

Jdemuren opened this issue May 4, 2022 · 4 comments

Comments

@Jdemuren
Copy link

Jdemuren commented May 4, 2022

How would you implement this for a Calibre-web on docker container?

@WingsZeng
Copy link
Owner

Sorry, I knew few about docker. May be you could use docker cp to copy files to the container?
I would be very grateful if you could contribute a more wisely implementation.

@TheAnachronism
Copy link

So this would work, but you'd have to add /app/calibre-web/cps/static as a docker volume.
Currently, that directory doesn't seem large so no problem, but I'm not certain how well it goes with updating the container.

@Jdemuren
Copy link
Author

So this would work, but you'd have to add /app/calibre-web/cps/static as a docker volume. Currently, that directory doesn't seem large so no problem, but I'm not certain how well it goes with updating the container.

Thanks for figuring this out but I am still confused. In the volume mapping; what should I name the volume container (tried "static" but didn't work) and bind to host (/app/calibre-web/cps/static).
Any further help would be appreciated.
Thanks

@TheAnachronism
Copy link

OK, so something I missed, you have to mount the entire /app/calibre-web/cps directory.
So in docker-compose something like this:

# where you map volumes:
  volumes:
    - cps_data:/app/calibre-web/cps

volumes:
  cps_data:

I haven't been able to test this out, so I'm uncertain if this works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants