-
-
Notifications
You must be signed in to change notification settings - Fork 145
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
[FEAT] Possibility to change the web GUI port of an existing container with existing DB? #299
Comments
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid. |
You shouldn't need to change the webui port inside the container, you just change the bridged port on your deployment. |
So i'm actually using this in a docker compose where the network of the web container gets routed through a VPN container, so on the calibre-web container itself there's no ports exposed in the compose at all because i expose those on the linked vpn container so my compose looks like this
I know it's unorthodox, but it's worked amazingly well for me so far, the only issue is another container in my stack uses the same port calibre web was using, and moving it outside of the stack and changing the exposed ports actually doesn't have any effect since the container already exists so i was wondering if there's a saved config for calibre-web that makes it remember the port that i'd need to change. |
Ah I see what you mean. Ok you'd need to edit the nginx config within the containers |
yeah i figured it'd involve that since this is a little off the beaten path for normal use cases. However does the calibre-web image use nginx by default? when i check the directory i have the /config bind mounted too, i only see a
i was wondering if the port parameter was saved in the app.db but i haven't opened it up yet |
Whoops, I thought it was. Looks like you'd need to deploy it then edit the server settings from within the webui. |
Hey sorry to revisit, but is this editable within the webui settings? all i can see if settings regarding meta data views. searched for a while and i didn't see any "server config" but maybe there's clickable buttons that i missed. If you don't know, that's fine too, just figured i'd ask before closing this out :)! |
As I mentioned, you can edit it via the server settings in the webui. |
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions. |
closing as solution was provided and is documented by the project dev. |
Is this a new feature request?
Wanted change
I've been migrating an existing calibre-web container that i've used for years and needed to change the port to reduce conflicts with other services already running on the same host. Is it possible to do this without a fresh install of the entire application?
If i need to remove certain ephemeral files, would anyone know which ones? like blowing away the calibre-web config volume?
Reason for change
reduce the need for a clean install of an existing deployment and wiping out its database and other related info.
Proposed code change
No response
The text was updated successfully, but these errors were encountered: