mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 04:16:03 -05:00
Add option to change default docker port number #412
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mynumu on GitHub (Mar 4, 2024).
Hi
Can you add an option to change the default port number from 3000 and add an example dockeryaml and env configuration file for openwebui with an understanding of what can be changed thanks
@justinh-rahb commented on GitHub (Mar 4, 2024):
To modify the exposed port in Docker, you can utilize Docker's port mapping functionality. For instance, if you want to change the port to
3333for example, you can use the following in yourdocker runcommand:Alternatively, if you are using
docker compose, you can modify the port definition line in thedocker-compose.yamlfile to:Having a solid understanding of Docker is essential if you want to deviate from the instructions provided in the documentation or need to adapt them to your specific use case.