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
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
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 3333 for example, you can use the following in your docker run command:
-p 3333:8080
Alternatively, if you are using docker compose, you can modify the port definition line in the docker-compose.yaml file to:
ports:- "3333:8080"
Note
It is expected and indeed necessary in most cases for users to modify docker-compose.yaml to suit their deployment.
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.
@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 `3333` for example, you can use the following in your `docker run` command:
```bash
-p 3333:8080
```
Alternatively, if you are using `docker compose`, you can modify the port definition line in the `docker-compose.yaml` file to:
```yaml
ports:
- "3333:8080"
```
> [!NOTE]
> It is expected and indeed necessary in most cases for users to modify `docker-compose.yaml` to suit their deployment.
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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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.